Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit c123b5c

Browse files
authored
Merge pull request #182 from github-for-unity/fixes/user-tracker-reduce-noise
Reducing noise in UsageTracker error
2 parents 8903922 + 16a6569 commit c123b5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GitHub.Api/Metrics/UsageTracker.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ private async Task SendUsage()
145145
}
146146
catch (Exception ex)
147147
{
148-
Logger.Warning(ex, "Error Sending Usage");
148+
Logger.Warning(@"Error Sending Usage Exception Type:""{0}"" Message:""{1}""", ex.GetType().ToString(), ex.Message);
149149
}
150150
}
151151

0 commit comments

Comments
 (0)