Better error handling of invalid search queries
Closed this issue · 2 comments
Alx101 commented
Just recently ran into an issue because of this. Probably due to incorrect config, but any calls from the client fails with undefined error. After some digging it seems to be getting a 404
from the api, but because of this
Line 249 in 8e4f74a
the error is swallowed and completely hidden, at least a
console.error
or some specific error thrown would help for debugging.
Exceptions like these need to bubble up so it can be handled properly, and give some insight into what is wrong.
fern-support commented
This should be addressed in version 6.x.x of the SDK. Please reopen the issue if the problems still persists.