Fix logging of exception titles

このコミットが含まれているのは:
Sergio Pedri committed 2022-01-22 22:35:02 +01:00
1 親 b6b39f4c8f
コミット ea68ebe527
7ファイル変更
+18 -11

検索条件に一致するファイルはありません

+2 -3
ファイルの表示
@@ -30,12 +30,11 @@ public sealed class DebugAnalyticsService : IAnalyticsService
}
/// <inheritdoc/>
public void Log(string title, Exception exception, params (string Property, object? Value)[]? data)
public void Log(Exception exception, params (string Property, object? Value)[]? data)
{
StringBuilder builder = new();
builder.AppendLine($"[EXCEPTION]: \"{title}\"");
builder.AppendLine($">> Type: \"{exception.GetType()}\"");
builder.AppendLine($"[EXCEPTION]: \"{exception.GetType()}\"");
builder.AppendLine(">> Stack trace");
builder.AppendLine(exception.StackTrace);