Skip to content

Commit b4e8485

Browse files
committed
Error handle exception handler for safety
1 parent 563a5ad commit b4e8485

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

osu.Server.QueueProcessor/QueueProcessor.cs

+7-1
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,13 @@ public void Run(CancellationToken cancellation = default)
145145

146146
Interlocked.Increment(ref consecutiveErrors);
147147

148-
Error?.Invoke(item.Exception, item);
148+
try
149+
{
150+
Error?.Invoke(item.Exception, item);
151+
}
152+
catch
153+
{
154+
}
149155

150156
if (item.Exception != null)
151157
SentrySdk.CaptureException(item.Exception);

0 commit comments

Comments
 (0)