This is more of a server implementation than a source code issue, but try to make it so that logs persist between server instances. That way, if someone reports that there was an error, but you've restarted the server since their error happened, you don't lose information on what could've possibly happened.
This is more of a server implementation than a source code issue, but try to make it so that logs persist between server instances. That way, if someone reports that there was an error, but you've restarted the server since their error happened, you don't lose information on what could've possibly happened.