catch java exceptions, too

This commit is contained in:
jomo
2014-06-21 11:09:10 +02:00
parent 4e3cecc38d
commit c99e283651

View File

@@ -11,8 +11,9 @@ sys.path += ['', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', '/usr/l
try:
from helpers import *
except Exception, e:
print("[RedstonerUtils] ERROR: Failed to import helpers: %s" % e)
except:
print("[RedstonerUtils] ERROR: Failed to import helpers:")
print(print_traceback())