捕获异常

This commit is contained in:
luoxueyi 2022-10-28 13:53:30 +08:00
parent 9b06d4aa81
commit acd1c8ac47
1 changed files with 205 additions and 202 deletions

View File

@ -220,6 +220,7 @@ class Sqlite3Server(object):
status_cn = '失败'
changeLog = ""
try:
# 判断更新方式
if mode == InstallBackend.MODE_INSTALL_PARTIAL: # 部分更新
pkg_adj = ""
@ -432,6 +433,8 @@ class Sqlite3Server(object):
self._removal_of_marker()
else:
logging.warning("Cache is None.")
except Exception as e:
logging.error("record update error: %s.",str(e))
# 获取group信息
def GetGroupmsg(self, appname):