public static void Error(string message, Exception exception = null)
        {
            var properties = new Dictionary <string, string> {
                { "Message", message },
                { "Person", GetPerson() }
            };

            Crashes.TrackError(exception ?? new Exception("no exception"), properties);
        }
Exemplo n.º 2
0
        protected override void TrackErrorInternal(Exception exception, IDictionary <string, object> properties)
        {
            var propertiesToSend = this.MergePropertiesToAppCenterFormat(properties);

            AppCenterCrashes.TrackError(exception, propertiesToSend);
        }