fuck this
This commit is contained in:
parent
933fe1f5e9
commit
03355fe27b
1 changed files with 31 additions and 24 deletions
|
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Reference in a new issue