Closed joao-albach closed 2 years ago
Can you report a new issue also with the crash of onError
??
I think with the actual API call you should check if there is an exception is hasException
or something like that. and you can get the exception with result.exception
But your is a good point, maybe we could add a new method or introduce a way to support both supports both API
it is crashing before the i check for the result.hasException, but i just realized that it's an vscode debbug option... sorry
Describe the issue When using the client whenever there is an erro in the request the exception is not caught, it does not matter if its in a
try catch
or i'm usingonError
it always crashes.To Reproduce (MUST BE PROVIDED)
Expected behavior I expect the error to be printed instead of the app crashing, instead it crashed with this exceptions:
device / execution context iOS simulator