mirror of
https://github.com/acepanel/panel.git
synced 2026-02-05 02:07:18 +08:00
feat: add task check in update
This commit is contained in:
@@ -166,7 +166,8 @@ func (c *InfoController) Update(ctx http.Context) {
|
||||
proxy := ctx.Request().InputBool("proxy")
|
||||
err := tools.UpdatePanel(proxy)
|
||||
if err != nil {
|
||||
Error(ctx, http.StatusInternalServerError, "更新失败")
|
||||
facades.Log().Error("[面板][InfoController] 更新面板失败 ", err.Error())
|
||||
Error(ctx, http.StatusInternalServerError, "更新失败: "+err.Error())
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user