Let's use the new logger

This commit is contained in:
EntenKoeniq
2022-03-29 00:28:57 +02:00
parent 90d7ae7059
commit 7d2e3705ea
3 changed files with 52 additions and 29 deletions

View File

@ -50,7 +50,11 @@ namespace CoopClient
}
catch (Exception ex)
{
GTA.UI.Notification.Show("~r~~h~Javascript Error");
Logger.Write(ex.Message, Logger.LogLevel.Server);
// Without the directory we can't do the other stuff
return;
}
}
@ -70,6 +74,7 @@ namespace CoopClient
}
catch (Exception ex)
{
GTA.UI.Notification.Show("~r~~h~Javascript Error");
Logger.Write(ex.Message, Logger.LogLevel.Server);
}
finally