0
0
mirror of https://github.com/sp-tarkov/modules.git synced 2025-02-13 02:10:45 -05:00

Replace console.writeline with Logger.LogError

This commit is contained in:
Dev 2023-07-12 18:09:14 +01:00
parent f89789b257
commit 86d86144ba

View File

@ -67,8 +67,8 @@ namespace Aki.Custom.Patches
}
catch (Exception ex)
{
Console.WriteLine($"Error processing log: {ex.Message}");
Console.WriteLine(ex.StackTrace);
Logger.LogError($"Error processing log: {ex.Message}");
Logger.LogError(ex.StackTrace);
}
return true; // Do original