Refactor error system (#33610)

This commit is contained in:
wxiaoguang authored and GitHub committed 2025-02-16 22:13:17 -08:00
1 parent 69de5a65c2
commit f35850f48e
184 files changed
+2100 -2106

No files matched your search

+1 -1
View File
@@ -52,7 +52,7 @@ func NodeInfo(ctx *context.APIContext) {
}
if err := ctx.Cache.PutJSON(cacheKeyNodeInfoUsage, nodeInfoUsage, 180); err != nil {
ctx.InternalServerError(err)
ctx.APIErrorInternal(err)
return
}
}