aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/line_handler/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/line_handler/__init__.py b/modules/line_handler/__init__.py
index a3009bf9..144e6102 100644
--- a/modules/line_handler/__init__.py
+++ b/modules/line_handler/__init__.py
@@ -44,7 +44,8 @@ class Module(ModuleManager.BaseModule):
@utils.hook("raw.received.error")
def error(self, event):
- self.log.error("ERROR received: %s", [event["args"][0]])
+ self.log.error("ERROR received from %s: %s",
+ [str(event["server"]), event["args"][0]])
@utils.hook("raw.received.fail")
def fail(self, event):
command = event["args"][0]