Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mrDoctorWho/vk4xmpp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Smith <mrdoctorwho@gmail.com>2017-02-18 06:45:20 +0300
committerJohn Smith <mrdoctorwho@gmail.com>2017-02-18 06:45:56 +0300
commita4b0730ef2e05356253bfc7105b5e73e8d37edf4 (patch)
tree9ecb525ce2e8f1cdd9847fb47af5687c0ffd3077
parent1a9c4235501ec40fc678b043e9b939b4aacac92f (diff)
Fix error reporter. Fixes #166
-rw-r--r--gateway.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gateway.py b/gateway.py
index f11a53f..3c85fed 100644
--- a/gateway.py
+++ b/gateway.py
@@ -861,7 +861,7 @@ def report(message):
global LAST_REPORT
if Transport.settings.send_reports and message != LAST_REPORT:
LAST_REPORT = message
- message = "Critical failure:\n"
+ message = "Critical failure:\n%s" % message
for admin in ADMIN_JIDS:
sendMessage(admin, TransportID, message, timestamp=-1)