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
For Sentry, by default we could capture the exception and send it to sentry... and optionally invoke any user defined callback (if one was supplied).
I just wanted something like this in a button click handler in Maui (that needed to call some async methods on HttpClient - no blocking versions of those methods exist).
The text was updated successfully, but these errors were encountered:
jamescrosswell
changed the title
Add RunAsyncVoidSafely helper method(s) to Sentry SDK
Add SentrySdk.RunAsyncVoid helper method to Sentry SDK
May 22, 2024
See https://www.jamescrosswell.dev/posts/catching-async-void-exceptions/
For Sentry, by default we could capture the exception and send it to sentry... and optionally invoke any user defined callback (if one was supplied).
I just wanted something like this in a button click handler in Maui (that needed to call some async methods on HttpClient - no blocking versions of those methods exist).
The text was updated successfully, but these errors were encountered: