Xamarin Forms - distinguishing crashes vs manually reported exceptions
jawbrey
Posted on
Feb 12 2021
We are using Raygun for crash reporting (unhandled exceptions) and also manually reporting handled exceptions. However, when we login to the portal and look at the "Crashes" report there doesn't seem to be any way to distinguish crashes from handled exceptions. This really limits to utility of the tool.
Is there a way to do this that I'm not aware of. Or is there something we need to do in our code to more easily distinguish crashes from handled exceptions?
Zheng Li
Raygun
Posted on
Feb 14 2021
Hi there,
Thanks for getting in touch with this question. We have just the feature to help you with identifying and categorising errors (not just with handled vs unhandled exceptions, but much more) - tags.
Tags are labels that can be given to exceptions inside your code. These labels are then passed onto Raygun when exceptions are tracked. Having tags on your exceptions gives you several powerful abilities when it comes to better organizing your inbound exceptions. Raygun allows you to filter your exceptions in three ways:
Inbound filters: You can filter out inbound exceptions by tag.
Searching: You can search for specific tags to see associated exceptions.
Filtering: You can filter for or against specific tags.
Here are some simple instructions on how to set up tags with a Xamarin Form app.
Please let us know if you have any further questions about tags or categorising your errors.
Thanks
Zheng
VP of Product
Raygun