Closed vplme closed 6 years ago
@vverst Thanks a lot for trying the SDK and reporting this issue! With all the info you provided it was quick to spot the error.
We'll be making sure the SDK doesn't throw before we release a final version. At this point I belive it's better to have feedback so we can fix these issues quickly before the first release.
Thank you for the quick response! That is great to hear :smile:
@vverst A new version with the fix was published:
https://github.com/getsentry/sentry-dotnet/releases/tag/0.0.1-preview4
Thanks again for helping trying it out and reporting!
Hi,
I'm trying to test out Sentry with Xamarin Forms but I was not getting any logs back in Sentry from unhandled exceptions in my Xamarin Forms app. Capturing regular exceptions works fine (e.g.
SentrySdk.CaptureException(new Exception("Testing"))
So I tried using my own UnhandledException handler but it seems like I'm getting an exception while trying to call
SentrySdk.CaptureException(exception)
? Which might be the original reason why I didn't get any unhandled exceptions via default Sentry handler (AppDomainUnhandledExceptionIntegration)iOS unhandled exception code:
Exception I got from the try catch while trying to CaptureException:
Exception I was trying to capture: