Archived
1
0

Fixed metrics endpoints and offline behaviour

This commit is contained in:
Michael Gordeev
2020-05-14 00:01:52 +03:00
parent cf3252b4fa
commit b4cfb58b64
4 changed files with 18 additions and 6 deletions
+1
View File
@@ -57,6 +57,7 @@ namespace FoxTube.Utils
public static void SendReport(Exception exception, ErrorAttachmentLog[] logs = null, params (string key, string value)[] details)
{
logs ??= new ErrorAttachmentLog[0];
Crashes.TrackError(exception,
details.Length < 1 ? null :
details.Select(i => new KeyValuePair<string, string>(i.key, i.value)) as Dictionary<string, string>,