mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-07 18:49:29 +02:00
Refactor error system (#33610)
This commit is contained in:
1 parent
69de5a65c2
commit
f35850f48e
184 files changed
+2100
-2106
No files matched your search
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user