summaryrefslogtreecommitdiff
path: root/tests/tolua/test1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tolua/test1.cpp')
-rwxr-xr-xtests/tolua/test1.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/tests/tolua/test1.cpp b/tests/tolua/test1.cpp
index 902b278..271544e 100755
--- a/tests/tolua/test1.cpp
+++ b/tests/tolua/test1.cpp
@@ -23,13 +23,8 @@ int main( int /* argc */, char *argv[] )
luaVm.loadSource( argv[1] );
luaVm.executeMain( );
- //luaVm.dumpState( );
-
- //Base *obj = loader.create( "testmod" );
- //obj->hello( );
- //loader.destroy( obj );
-
return 0;
+
} catch( exception &e ) {
LOG( logFATAL ) << "ERROR: " << e.what( );
return 1;