From 3854c6a75c597ac0fcdbc323a36189204a2f3831 Mon Sep 17 00:00:00 2001 From: Jason Michalski Date: Sat, 1 Dec 2007 13:43:49 -0600 Subject: [PATCH] Log beacon errors to stdout --- beacon.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/beacon.py b/beacon.py index 10058ae..9536fc6 100644 --- a/beacon.py +++ b/beacon.py @@ -36,7 +36,8 @@ class Beacon: for beacon_ip in beacon_ips.split(): try: self.UDPSock.sendto(self.format_beacon(), (beacon_ip, 2190)) - except error: + except error, e: + print e pass def start(self): -- 2.11.4.GIT