diff options
Diffstat (limited to 'libpathod')
-rw-r--r-- | libpathod/pathod.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/libpathod/pathod.py b/libpathod/pathod.py index 1f4ff760..5eb91f7a 100644 --- a/libpathod/pathod.py +++ b/libpathod/pathod.py @@ -26,7 +26,14 @@ class PathodHandler(tcp.BaseHandler): self.server.ssloptions["keyfile"], ) except tcp.NetLibError, v: - self.info(v) + s = str(v) + self.server.add_log( + dict( + type = "error", + msg = s + ) + ) + self.info(s) self.finish() while not self.finished: |