mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 05:53:10 +08:00
Fix incorrect variable reference in log output
This commit is contained in:
parent
725f5f4dcb
commit
cac6d5569c
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user