Skip to content

Commit a7df3c4

Browse files
committed
update
1 parent 301c019 commit a7df3c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routers/api/v1/repo/action.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1097,7 +1097,7 @@ func DeleteActionRun(ctx *context.APIContext) {
10971097
run, err := actions_model.GetRunByID(ctx, runID)
10981098
if err != nil {
10991099
if errors.Is(err, util.ErrNotExist) {
1100-
ctx.APIError(http.StatusNotFound, err.Error())
1100+
ctx.APIError(http.StatusNotFound, err)
11011101
return
11021102
}
11031103
ctx.APIErrorInternal(err)

0 commit comments

Comments
 (0)