Crash reporting
Reporting handled exceptions
try
{
// an exception is thrown
}
catch (Exception ex)
{
Insights.Report(ex);
}
Reporting additional properties
try
{
// an exception is thrown
}
catch (Exception ex)
{
Insights.Report(ex, new Dictionary<string, string>
{
{ "filePath", currentFilePath },
{ "saveCount", count.ToString() }
});
}