Increase error logging to diagnose server conking (#15662)

* Increase error logging to diagnose server conking

* more logging and db retry

* whoops

* rename error() to log_error() to better reflect what it does
Move a bunch of world.log messages to log_error

* Fix compile error

---------

Co-authored-by: Werner <Arrow768@users.noreply.github.com>
This commit is contained in:
Wildkins
2023-03-13 21:51:39 +00:00
committed by GitHub
co-authored by Werner
parent 62e25f5890
commit c369124fe9
42 changed files with 94 additions and 91 deletions
@@ -33,7 +33,7 @@
try
decoded = json_decode(file)
catch (var/exception/e)
error("SSperist_config: invalid JSON detected. Error: [e]")
log_error("SSperist_config: invalid JSON detected. Error: [e]")
return
if (!decoded || !decoded.len)