aboutsummaryrefslogtreecommitdiff
path: root/rpkid/rpki/async.py
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2009-07-04 20:13:22 +0000
committerRob Austein <sra@hactrn.net>2009-07-04 20:13:22 +0000
commit6462e03109be39a7e6e82ba5c49874d4652b5810 (patch)
treea1154f496b34145a4ac0797505f6619727af3fb2 /rpkid/rpki/async.py
parent6baa092a44b6ae9d1ffddc8fc6928c9bbb368124 (diff)
Clean up and consolidate traceback. Add methods to hide (some of the)
mucking about with msg.type variables. Include query PDU tags in reply <report_error/> PDUs. svn path=/rpkid/irbe-setup.py; revision=2571
Diffstat (limited to 'rpkid/rpki/async.py')
-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 18ed2a2e..a3847823 100644
--- a/rpkid/rpki/async.py
+++ b/rpkid/rpki/async.py
@@ -156,7 +156,7 @@ class timer(object):
Error callback. May be overridden, or set with set_errback().
"""
rpki.log.error("Unhandled exception from timer: %s" % e)
- rpki.log.error(traceback.format_exc())
+ rpki.log.traceback()
def set_errback(self, errback):
"""Set a timer's errback. Like set_handler(), for errbacks."""