Exceptions no longer written to log file

FiveM Client no longer writes C# Script Exceptions to the log file, I have only noticed this today while trying to find a NullReferenceException within one of my resources.

My only time frame is some time after the 3rd Jan 2020 as I have logs with Exceptions and since I updated the client on the 5th and the colours for resources have been added to the client console (F8) which are very helpful when seeing which system is reporting information.

Process;

  1. Launch Client
  2. Connect to a server
  3. Run code that will throw an exception
  4. Check log and see exception is not writen to the file

I have not tested this in Lua as I know that has a nice way of displaying this information within the client which helps with finding the issue.

1 Like

I can confirm there is an issue.

No Debug.Write/Writeline output is saved to the log file and neither is indeed any uncaught exception. It’s present in the F8 console though. Lua print() works as expected.

I’m not using Canary.

1 Like

There was a commit pushed today with changes to the console. This is probably not a coincidence.

1 Like

Thank you for fixing this.