Catch Exception instead of Throwable for all but LuaThread run loop

This commit is contained in:
James Roseborough
2012-01-25 03:58:33 +00:00
parent 9922cbb3db
commit 3506930278
6 changed files with 16 additions and 16 deletions

View File

@@ -196,8 +196,8 @@ public class lua {
}
Varargs scriptargs = (args!=null? setGlobalArg(args, firstarg): LuaValue.NONE);
c.invoke( scriptargs );
} catch ( Throwable t ) {
t.printStackTrace( System.err );
} catch ( Exception e ) {
e.printStackTrace( System.err );
}
}