aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2012-07-31 22:51:56 +0000
committerRob Austein <sra@hactrn.net>2012-07-31 22:51:56 +0000
commit870b7a3905d210fafd40b20ac4af4c817d65dcc8 (patch)
tree47daabe2837af2c17cc6d89beac7b2d3fde2154d
parent5622973467cf9f93818a83101b0588d67823d23b (diff)
Somehow we got an exception whose string expansion was the null
string. Huh? Log exception class name in cae this ever happens again. svn path=/trunk/; revision=4616
-rw-r--r--rpkid/rpki/async.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpkid/rpki/async.py b/rpkid/rpki/async.py
index 6e9d1edf..5eaa34f9 100644
--- a/rpkid/rpki/async.py
+++ b/rpkid/rpki/async.py
@@ -268,7 +268,7 @@ def run_deferred():
except (ExitNow, SystemExit):
raise
except Exception, e:
- rpki.log.error("Unhandled exception from deferred action: %s" % e)
+ rpki.log.error("Unhandled exception from deferred action %s: %s" % (e.__class__.__name__, e))
rpki.log.traceback()
def _raiseExitNow(signum, frame):