bugfix
This commit is contained in:
parent
15c0a372ca
commit
830fc247e6
@ -1,4 +1,5 @@
|
|||||||
# -*- coding:UTF-8 -*-
|
# -*- coding:UTF-8 -*-
|
||||||
|
from traceback import print_exc
|
||||||
from socket import *
|
from socket import *
|
||||||
import json
|
import json
|
||||||
from appPublic.sockPackage import get_free_local_addr
|
from appPublic.sockPackage import get_free_local_addr
|
||||||
@ -28,6 +29,7 @@ class UdpComm:
|
|||||||
self.callback(b, addr)
|
self.callback(b, addr)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print('exception happened:',e)
|
print('exception happened:',e)
|
||||||
|
print_exc()
|
||||||
pass
|
pass
|
||||||
|
|
||||||
def stop(self):
|
def stop(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user