You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My tests hangs on that line and errors out, but nothing informative is printed. This is terrible for debugging.
The only way I can find out what happened is to catch the exception and PRINT the information from the exception manually using a @Try block. This shouldn't need to be the case.
Why is this happening?
The text was updated successfully, but these errors were encountered:
I get the exception in the console as normal when I run this on the main thread without the @try. The stack trace has 50-odd frames of RAC in it, but it seems fine.
Hmmm. It must be something else in my code. @jlawton you're right, the snippet I posted as it is works okay. But some almost identical code elsewhere in my codebase has its exceptions swallowed. Mysterious.
I've run up against some nasty behaviour. I've got an async operation here:
... which I test against in unit tests in the following way:
My tests hangs on that line and errors out, but nothing informative is printed. This is terrible for debugging.
The only way I can find out what happened is to catch the exception and PRINT the information from the exception manually using a @Try block. This shouldn't need to be the case.
Why is this happening?
The text was updated successfully, but these errors were encountered: