Stop lua-check when error