X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=osm_openvim%2Fopenflow_thread.py;fp=osm_openvim%2Fopenflow_thread.py;h=2f39fabb68af06a3d4fbaf1966e440ce238148dd;hb=f135eff232fe844439c3f097734693ab4320460e;hp=cd873e7dc72949851e5f4dda740df2dd7da88c30;hpb=9f6571090b203922cabb0382226be0fa48d6e046;p=osm%2Fopenvim.git diff --git a/osm_openvim/openflow_thread.py b/osm_openvim/openflow_thread.py index cd873e7..2f39fab 100644 --- a/osm_openvim/openflow_thread.py +++ b/osm_openvim/openflow_thread.py @@ -165,7 +165,10 @@ class openflow_thread(threading.Thread): else: self.logger.error("unknown task %s", str(task)) except openflow_conn.OpenflowconnException as e: + self.logger.error("OpenflowconnException: " + str(e)) self.set_openflow_controller_status(OFC_STATUS_ERROR, str(e)) + except Exception as e: + self.logger.critical("Unexpected exception at run: " + str(e), exc_info=True) def terminate(self): pass