We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 866656b commit 3a60c3dCopy full SHA for 3a60c3d
routers/web/repo/actions/view.go
@@ -584,7 +584,7 @@ func Delete(ctx *context_module.Context) {
584
run, err := actions_model.GetRunByIndex(ctx, repoID, runIndex)
585
if err != nil {
586
if errors.Is(err, util.ErrNotExist) {
587
- ctx.NotFound(nil)
+ ctx.JSONError(ctx.Tr("error.not_found"))
588
return
589
}
590
ctx.ServerError("GetRunByIndex", err)
0 commit comments