From 05f3c028e675e0d8b18e713ed8a704d2b4cb20a9 Mon Sep 17 00:00:00 2001 From: Mathieu Virbel Date: Sun, 21 Oct 2012 21:14:35 +0200 Subject: [PATCH] osc: fix exception error in logger --- kivy/lib/osc/oscAPI.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/kivy/lib/osc/oscAPI.py b/kivy/lib/osc/oscAPI.py index 6a7af537c..e226bf2a7 100644 --- a/kivy/lib/osc/oscAPI.py +++ b/kivy/lib/osc/oscAPI.py @@ -210,7 +210,6 @@ class OSCServer(_OSCServer): if error == errno.EADDRINUSE: Logger.error('OSC: Address %s:%i already in use, retry in 2 second' % (self.ipAddr, self.port)) else: - Logger.exception(e) self.haveSocket = False # sleep 2 second before retry @@ -225,8 +224,7 @@ class OSCServer(_OSCServer): except Exception, e: if type(e) == socket.timeout: continue - Logger.error('OSC: Error in Tuio recv()') - Logger.exception(e) + Logger.exception('OSC: Error in Tuio recv()') return 'no data arrived' def listen(ipAddr='127.0.0.1', port=9001):