Fix missed string interpolation

This commit is contained in:
smoogipoo 2018-08-21 09:17:44 +09:00
parent 0501d58f70
commit da13266ae9
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ private static bool handleException(Exception arg)
{
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));