Lua Error Logging
Sometimes it is useful for server owners to receive and log Lua errors that occur on their servers.
This can be done via the
lua_error_url console variable on the server.
Setting the ConVar to a link will cause the clients connected to the server and the server itself report all Lua errors they encounter to the given URL via a POST request.
Each POST request will have the following data in its body, formatted as GET parameters:
|error||The error string itself|
|stack||The stack trace of the error|
|realm||Which Lua realm produced the error, possible values are:
|addon||The ID of the Workshop addon this error was caused by, if the game was able to determine that,
|hash||CRC32 hash of the
|gamemode||The currently running gamemode of the server (folder name), example:
|gmv||The version of the game, example:
|os||The operating system of the client/server the error happened on, possible values are
|ds||Whether this error happened on a dedicated server (
|v||Version of the