diff options
author | Rob Austein <sra@hactrn.net> | 2011-12-12 06:21:47 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2011-12-12 06:21:47 +0000 |
commit | bdd3b43747241ca42c50487502dc0002a047c1d8 (patch) | |
tree | 6d6d11d06b48b4f52d789b376e558fc043f2c3b2 /rpkid/rpki/pubd.py | |
parent | 67a6ef6a1a7e741c5ab2c5b53ad119cb1c5880d3 (diff) |
Log more useful error message on unhandled exceptions
svn path=/branches/tk100/; revision=4115
Diffstat (limited to 'rpkid/rpki/pubd.py')
-rw-r--r-- | rpkid/rpki/pubd.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rpkid/rpki/pubd.py b/rpkid/rpki/pubd.py index bde1260e..6968780d 100644 --- a/rpkid/rpki/pubd.py +++ b/rpkid/rpki/pubd.py @@ -134,7 +134,7 @@ class main(object): raise except Exception, e: rpki.log.traceback() - cb(500, reason = "Unhandled exception %s" % e) + cb(500, reason = "Unhandled exception %s: %s" % (e.__class__.__name__, e)) client_url_regexp = re.compile("/client/([-A-Z0-9_/]+)$", re.I) |