Commit b4cd2f5
fix(search): use correct callback signature for error logging
The custom ajax `.then(success, error)` passes `(event, responseStatus)`
not a standard Error. Use the response status for a more useful warning
message, e.g. "(404)" instead of logging a ProgressEvent object.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 285a3b6 commit b4cd2f5
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
338 | 338 | | |
339 | 339 | | |
340 | 340 | | |
341 | | - | |
342 | | - | |
| 341 | + | |
| 342 | + | |
343 | 343 | | |
344 | 344 | | |
345 | 345 | | |
| |||
0 commit comments