diff options
author | lloyd <[email protected]> | 2012-07-10 23:16:19 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2012-07-10 23:16:19 +0000 |
commit | 4b4c26b1f191a3584371e54e1554b253b6d7bb37 (patch) | |
tree | e34ea03d0971849bb9ac99bf01454cce93f7691e /configure.py | |
parent | 6290c754cdef820bc316cbafcbfc539b9b846eb0 (diff) |
Traceback by default on an exception throw
Diffstat (limited to 'configure.py')
-rwxr-xr-x | configure.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.py b/configure.py index 7b8941429..44de3693a 100755 --- a/configure.py +++ b/configure.py @@ -1827,8 +1827,8 @@ if __name__ == '__main__': try: main() except Exception as e: - logging.error(str(e)) - #import traceback - #traceback.print_exc(file=sys.stderr) + logging.error(e) + import traceback + logging.info(traceback.format_exc()) sys.exit(1) sys.exit(0) |