Created
April 27, 2020 21:38
-
-
Save juucustodio/b9c6f57f44b3657ffe21a19a17933b0e to your computer and use it in GitHub Desktop.
Como trackear os erros do seu App - 20 dias com App Center / Dia 16 - http://julianocustodio.com/appcenter-16
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
try | |
{ | |
... | |
} | |
catch (Exception ex) | |
{ | |
var properties = new Dictionary<string, string> | |
{ | |
{ "Category", "Sample" }, | |
{ "ErrorMessage", ex.Message }, | |
{ "Wi-fi", Connectivity.NetworkAccess.ToString() }, | |
{ "OS", Device.RuntimePlatform } | |
}; | |
Crashes.TrackError(ex, properties); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment