diff options
author | jomo <github@jomo.tv> | 2014-06-21 11:09:10 +0200 |
---|---|---|
committer | jomo <github@jomo.tv> | 2014-06-21 11:09:10 +0200 |
commit | c99e28365114f8aed5619fd0f939dd21588a30ec (patch) | |
tree | 71daaf08f0578ed6774e5f6ff12c732895488b0d /main.py | |
parent | 4e3cecc38d5b0375c5aca24a8d657689838fa78f (diff) |
catch java exceptions, too
Diffstat (limited to 'main.py')
-rw-r--r-- | main.py | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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()) |