mirror of
https://github.com/ngfchl/ptools
synced 2023-07-10 13:41:22 +08:00
1. 修复小bug若干
2. 更新基础规则
This commit is contained in:
@@ -231,7 +231,7 @@ def do_update(request):
|
||||
msg='更新成功,重启指令发送成功,容器重启中 ...' if flag else '更新成功,未映射docker路径请手动重启容器 ...'
|
||||
).to_dict(), safe=False)
|
||||
except Exception as e:
|
||||
raise
|
||||
# raise
|
||||
return JsonResponse(data=CommonResponse.error(
|
||||
msg='更新失败!' + str(e)
|
||||
).to_dict(), safe=False)
|
||||
|
||||
Reference in New Issue
Block a user