catch java exceptions, too

This commit is contained in:
jomo
2014-06-21 11:09:10 +02:00
parent 2b6dd6555e
commit b1be92f1a9

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())