fuck this

This commit is contained in:
Mira 2023-05-26 11:09:31 +02:00
parent 933fe1f5e9
commit 03355fe27b
Signed by untrusted user who does not match committer: Xorog
GPG key ID: 983798ED9C3E7C36

View file

@ -143,6 +143,8 @@ public class Logger : ILogger
{ {
attemptedParsing = true; attemptedParsing = true;
if (currentLog.Args?.Length >= currentArg) if (currentLog.Args?.Length >= currentArg)
{
try
{ {
int endIndex = leftOver.IndexOf('}'); int endIndex = leftOver.IndexOf('}');
@ -170,6 +172,11 @@ public class Logger : ILogger
leftOver = leftOver[(endIndex + 1)..]; leftOver = leftOver[(endIndex + 1)..];
attemptedParsing = false; attemptedParsing = false;
}
catch (Exception)
{
continue;
}
continue; continue;
} }
} }