Add the full traceback to the logs
This commit is contained in:
parent
c474289e3b
commit
6ea2c97f74
1 changed files with 2 additions and 0 deletions
|
@ -241,4 +241,6 @@ if __name__ == '__main__':
|
||||||
main()
|
main()
|
||||||
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
import traceback
|
||||||
|
print >> sys.stderr, '%s' % traceback.format_exc()
|
||||||
send_error(str(e))
|
send_error(str(e))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue