From 830fc247e6952da1f3a7470b42487f469db67230 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Thu, 15 Jul 2021 22:12:39 -0700 Subject: [PATCH] bugfix --- appPublic/udp_comm.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/appPublic/udp_comm.py b/appPublic/udp_comm.py index 74e602d..8798b84 100644 --- a/appPublic/udp_comm.py +++ b/appPublic/udp_comm.py @@ -1,4 +1,5 @@ # -*- coding:UTF-8 -*- +from traceback import print_exc from socket import * import json from appPublic.sockPackage import get_free_local_addr @@ -28,6 +29,7 @@ class UdpComm: self.callback(b, addr) except Exception as e: print('exception happened:',e) + print_exc() pass def stop(self):