mirror of https://github.com/kivy/kivy.git
osc: fix exception error in logger
This commit is contained in:
parent
1099038384
commit
05f3c028e6
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue