This commit is contained in:
yumoqing 2021-07-15 22:12:39 -07:00
parent 15c0a372ca
commit 830fc247e6

View File

@ -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):