diff options
author | emkael <emkael@tlen.pl> | 2017-05-09 03:12:12 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2017-05-09 03:12:12 +0200 |
commit | e4e7df2ffcc83ba1cf01f4d6ae54fdbbd90c7c09 (patch) | |
tree | 52bb65576e64f4d256900404c27a98f9121fe368 /butler.py | |
parent | 927beef1350c93083f28b884d5f393eca396d1b5 (diff) |
Improved error handling, MySQL error messages included
Diffstat (limited to 'butler.py')
-rw-r--r-- | butler.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -22,7 +22,7 @@ def main(): client = Goniec(load_config('goniec')) client.send(files) except Exception as e: - print str(e) + print 'ERROR: %s: %s' % (type(e).__name__, str(e)) if nowait: raw_input('Press any key to continue...') |