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
I'm working on an old codebase and we have many warnings about: 'exception' is deprecated: 'BFTask' exception handling is deprecated and will be removed in a future
It happens in cases like this:
or even in the caller, where I check if(task.exception).
I googled a lot but I couldn't find advices about what to do instead.
Is there a replacement method? Should I just ignore the exception in the catch block?
Can you please point me in the right direction here?
Thanks,
Alessandro
The text was updated successfully, but these errors were encountered:
Hi guys,
I'm working on an old codebase and we have many warnings about:
'exception' is deprecated: 'BFTask' exception handling is deprecated and will be removed in a future
It happens in cases like this:
or even in the caller, where I check
if(task.exception)
.I googled a lot but I couldn't find advices about what to do instead.
Is there a replacement method? Should I just ignore the exception in the catch block?
Can you please point me in the right direction here?
Thanks,
Alessandro
The text was updated successfully, but these errors were encountered: