summaryrefslogtreecommitdiff
path: root/grc/core/Messages.py
diff options
context:
space:
mode:
Diffstat (limited to 'grc/core/Messages.py')
-rw-r--r--grc/core/Messages.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/grc/core/Messages.py b/grc/core/Messages.py
index 596b6197d8..c2d216ef61 100644
--- a/grc/core/Messages.py
+++ b/grc/core/Messages.py
@@ -125,8 +125,8 @@ def send_fail_save(file_path):
send('>>> Error: Cannot save: %s\n' % file_path)
-def send_fail_connection():
- send('>>> Error: Cannot create connection.\n')
+def send_fail_connection(msg=''):
+ send('>>> Error: Cannot create connection.\n' + ('\t' + str(msg) if msg else ''))
def send_fail_load_preferences(prefs_file_path):