Module: check_mk
Branch: master
Commit: c533dca0c2c8c4d3b883c5cf7d3773de5b9a360d
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=c533dca0c2c8c4…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Wed Oct 9 18:48:18 2013 +0200
liveproxyd: fix exception in error message
---
doc/treasures/liveproxy/liveproxyd | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/treasures/liveproxy/liveproxyd b/doc/treasures/liveproxy/liveproxyd
index da924c1..a3f9d0e 100755
--- a/doc/treasures/liveproxy/liveproxyd
+++ b/doc/treasures/liveproxy/liveproxyd
@@ -111,13 +111,13 @@ def initiate_connections():
if opt_debug:
raise
else:
- log("Error: cannot create TCP channel to %s:%d: %d"
% siteconf["socket"] + (e,))
+ log("Error: cannot create TCP channel to %s:%d: %s"
% (siteconf["socket"] + (e,)))
break
except Exception, e:
if opt_debug:
raise
- log("Error: cannot create TCP channel to %s:%d: %d" %
siteconf["socket"] + (e,))
+ log("Error: cannot create TCP channel to %s:%d: %s" %
(siteconf["socket"] + (e,)))
break
channels.append({ "socket" : s, "state" :
"connecting", "since": time.time()})