summaryrefslogtreecommitdiff
path: root/src/core/handlers.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/handlers.py')
-rw-r--r--src/core/handlers.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/handlers.py b/src/core/handlers.py
index 92533d63..94a0614b 100644
--- a/src/core/handlers.py
+++ b/src/core/handlers.py
@@ -812,11 +812,11 @@ def on_groupchat_presence(self, presence):
### Connection-related handlers ###
-def on_failed_connection(self):
+def on_failed_connection(self, error):
"""
We cannot contact the remote server
"""
- self.information(_("Connection to remote server failed"), _('Error'))
+ self.information(_("Connection to remote server failed: %s" % (error,)), _('Error'))
def on_disconnected(self, event):
"""