mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-02-18 12:40:40 +01:00
LUA Error as Error
This commit is contained in:
parent
739cf0aae7
commit
d5143eeb80
@ -2964,7 +2964,7 @@ def load_lua_scripts():
|
|||||||
if(vars.serverstarted):
|
if(vars.serverstarted):
|
||||||
emit('from_server', {'cmd': 'errmsg', 'data': 'Lua script error; please check console.'}, broadcast=True)
|
emit('from_server', {'cmd': 'errmsg', 'data': 'Lua script error; please check console.'}, broadcast=True)
|
||||||
sendUSStatItems()
|
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.")
|
logger.warning("Lua engine stopped; please open 'Userscripts' and press Load to reinitialize scripts.")
|
||||||
if(vars.serverstarted):
|
if(vars.serverstarted):
|
||||||
set_aibusy(0)
|
set_aibusy(0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user