Commit acdbf919 authored by 段英荣's avatar 段英荣

Merge branch 'add_mysql_client' into 'master'

假设数据库连接异常,强制退出程序,supervisor重启linub

See merge request alpha/physical!443
parents d173d628 435f84dc
......@@ -315,10 +315,10 @@ class CollectData(object):
except:
logging_exception()
logging.error("catch exception,err_msg:%s" % traceback.format_exc())
# 假设数据库连接异常,强制退出程序,supervisor重启linub
os._exit(0)
return True
except:
logging_exception()
logging.error("catch exception,err_msg:%s" % traceback.format_exc())
# 假设数据库连接异常,强制退出程序,supervisor重启linub
os._exit(0)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment