LUA Error as Error

This commit is contained in:
Henk 2022-10-12 01:23:00 +02:00
parent 739cf0aae7
commit d5143eeb80
1 changed files with 1 additions and 1 deletions

View File

@ -2964,7 +2964,7 @@ def load_lua_scripts():
if(vars.serverstarted):
emit('from_server', {'cmd': 'errmsg', 'data': 'Lua script error; please check console.'}, broadcast=True)
sendUSStatItems()
logger.debug('LUA ERROR: ' + str(e).replace("\033", ""))
logger.error('LUA ERROR: ' + str(e).replace("\033", ""))
logger.warning("Lua engine stopped; please open 'Userscripts' and press Load to reinitialize scripts.")
if(vars.serverstarted):
set_aibusy(0)