Skip to content

Commit d1ae1d3

Browse files
committed
fix: synchronous non-blocking version of notify()
1 parent a712afc commit d1ae1d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Honeybadger/HoneybadgerClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public void Notify(Exception error, Dictionary<string, object> context)
4848

4949
private void Notify(Notice notice)
5050
{
51-
Send(notice).Wait();
51+
_ = Task.Run(async () => await NotifyAsync(notice)).ConfigureAwait(false);
5252
}
5353

5454
public Task NotifyAsync(string message)

0 commit comments

Comments
 (0)