Skip to content

Commit 6b3c204

Browse files
authored
Merge pull request #173 from scolestock/patch-1
fix: Diagnostic logging param order in BackgroundWorker
2 parents 2cae234 + 498771d commit 6b3c204

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Sentry/Internal/BackgroundWorker.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ private static async Task WorkerAsync(
136136
}
137137
catch (Exception exception)
138138
{
139-
options.DiagnosticLogger?.LogError("Error while processing event: {0}. #{1} in queue.", exception, @event.EventId, queue.Count);
139+
options.DiagnosticLogger?.LogError("Error while processing event {1}: {0}. #{2} in queue.", exception, @event.EventId, queue.Count);
140140
}
141141
}
142142
else

0 commit comments

Comments
 (0)