捕获异常
This commit is contained in:
parent
9b06d4aa81
commit
acd1c8ac47
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue