python: Fix remaining bare excepts in codebase.

Fixes #2862.
This commit is contained in:
sinwar
2017-03-05 14:55:27 +05:30
committed by Tim Abbott
parent 08e1759ad0
commit 6f0564e9f4
17 changed files with 25 additions and 25 deletions

View File

@@ -404,7 +404,7 @@ try:
for s in (signal.SIGINT, signal.SIGTERM):
signal.signal(s, shutdown_handler)
ioloop.start()
except:
except Exception:
# Print the traceback before we get SIGTERM and die.
traceback.print_exc()
raise