1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-20 06:00:25 +08:00

Fix incorrect variable reference in log output

This commit is contained in:
Dean Herbert
2022-05-10 19:07:00 +09:00
Unverified
parent 725f5f4dcb
commit cac6d5569c
+1 -1
View File
@@ -524,7 +524,7 @@ namespace osu.Game
{
bool continueExecution = Interlocked.Decrement(ref allowableExceptions) >= 0;
Logger.Log($"Unhandled exception has been {(continueExecution ? $"allowed with {SoftHandledExceptions} more allowable exceptions" : "denied")} .");
Logger.Log($"Unhandled exception has been {(continueExecution ? $"allowed with {allowableExceptions} more allowable exceptions" : "denied")} .");
// restore the stock of allowable exceptions after a short delay.
Task.Delay(1000).ContinueWith(_ => Interlocked.Increment(ref allowableExceptions));