aboutsummaryrefslogtreecommitdiff
path: root/rpkid/rpki/https.py
diff options
context:
space:
mode:
Diffstat (limited to 'rpkid/rpki/https.py')
-rw-r--r--rpkid/rpki/https.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpkid/rpki/https.py b/rpkid/rpki/https.py
index 838e5b88..f1e4cece 100644
--- a/rpkid/rpki/https.py
+++ b/rpkid/rpki/https.py
@@ -320,7 +320,7 @@ class http_server(http_stream):
print traceback.format_exc()
self.send_error(500, "Unhandled exception %s" % edata)
else:
- self.send_error(*error)
+ self.send_error(code = error[0], reason = error[1])
def send_error(self, code, reason):
self.send_message(code = code, reason = reason)