1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-12 21:52:56 +08:00

Merge pull request #3263 from smoogipoo/fix-string-interp

Fix missed string interpolation
This commit is contained in:
Dean Herbert 2018-08-21 09:25:50 +09:00 committed by GitHub
commit 3551005071
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,7 +63,7 @@ namespace osu.Desktop
{
bool continueExecution = Interlocked.Decrement(ref allowableExceptions) >= 0;
Logger.Log($"Unhandled exception has been {(continueExecution ? "allowed with {allowableExceptions} 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));