catch java exceptions, too
This commit is contained in:
5
main.py
5
main.py
@@ -11,8 +11,9 @@ sys.path += ['', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', '/usr/l
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
from helpers import *
|
from helpers import *
|
||||||
except Exception, e:
|
except:
|
||||||
print("[RedstonerUtils] ERROR: Failed to import helpers: %s" % e)
|
print("[RedstonerUtils] ERROR: Failed to import helpers:")
|
||||||
|
print(print_traceback())
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user