aboutsummaryrefslogtreecommitdiff
path: root/scripts/rpki/https.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/rpki/https.py')
-rw-r--r--scripts/rpki/https.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/rpki/https.py b/scripts/rpki/https.py
index 38c4a116..730e4481 100644
--- a/scripts/rpki/https.py
+++ b/scripts/rpki/https.py
@@ -75,7 +75,7 @@ class requestHandler(BaseHTTPServer.BaseHTTPRequestHandler):
rcode, rtext = handler(query = self.rfile.read(int(self.headers["Content-Length"])),
path = self.path)
except Exception, edata:
- traceback.print_exc()
+ rpki.log.error(traceback.format_exc())
rcode, rtext = 500, "Unhandled exception %s" % edata
self.send_response(rcode)
self.send_header("Content-Type", rpki_content_type)