aboutsummaryrefslogtreecommitdiff
path: root/modules/rest_api.py
diff options
context:
space:
mode:
authorGravatar jesopo2019-03-13 13:33:53 +0000
committerGravatar jesopo2019-03-13 13:33:53 +0000
commit6c5a6ff9cdf5ac520a1669901aa32a133c62d5e0 (patch)
tree0446be78ae8338abd3baebff5628550953ce5483 /modules/rest_api.py
parentShow user hostmask (not just nick) on formatted.join (diff)
signature
Show returned status code when _handle finishes
Diffstat (limited to 'modules/rest_api.py')
-rw-r--r--modules/rest_api.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/rest_api.py b/modules/rest_api.py
index 024a4ce1..f75c279b 100644
--- a/modules/rest_api.py
+++ b/modules/rest_api.py
@@ -95,8 +95,8 @@ class Handler(http.server.BaseHTTPRequestHandler):
self._respond(code, headers, response)
- _log.debug("[HTTP] finishing _handle for %s from %s:%d",
- [method, self.client_address[0], self.client_address[1]])
+ _log.debug("[HTTP] finishing _handle for %s from %s:%d (%d)",
+ [method, self.client_address[0], self.client_address[1]], code)
def do_GET(self):
self._handle("GET")