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); }
protected override void TrackErrorInternal(Exception exception, IDictionary <string, object> properties) { var propertiesToSend = this.MergePropertiesToAppCenterFormat(properties); AppCenterCrashes.TrackError(exception, propertiesToSend); }