From 41b36a7fc21f293b150a9d35b91d5b67f2c31dbb Mon Sep 17 00:00:00 2001 From: midoks Date: Sat, 6 Aug 2022 01:27:18 +0800 Subject: [PATCH] Update index.py --- plugins/mysql/index.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/mysql/index.py b/plugins/mysql/index.py index 718e58eab..03fea7a1e 100755 --- a/plugins/mysql/index.py +++ b/plugins/mysql/index.py @@ -2186,7 +2186,8 @@ def doFullSync(version=''): if result.strip() == 'ok': writeDbSyncStatus({'code': 1, 'msg': '主服务器备份完成...', 'progress': 30}) else: - writeDbSyncStatus({'code': 1, 'msg': '主服务器备份失败...', 'progress': 100}) + writeDbSyncStatus( + {'code': 1, 'msg': '主服务器备份失败...:' + str(result), 'progress': 100}) return 'fail' print("同步文件", "start")