Skip to content

Commit

Permalink
LUA Error as Error
Browse files Browse the repository at this point in the history
  • Loading branch information
henk717 committed Oct 11, 2022
1 parent 739cf0a commit d5143ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aiserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d5143ee

Please sign in to comment.