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 01035bd commit e06b193Copy full SHA for e06b193
routers/web/repo/githttp.go
@@ -8,6 +8,7 @@ import (
8
"bytes"
9
"compress/gzip"
10
gocontext "context"
11
+ "errors"
12
"fmt"
13
"net/http"
14
"os"
@@ -203,7 +204,7 @@ func httpBase(ctx *context.Context) *serviceHandler {
203
204
return nil
205
}
206
if !exist {
- ctx.ServerError("Load task repository", fmt.Errorf("repo not found"))
207
+ ctx.ServerError("Load task repository", errors.New("repo not found"))
208
209
210
actionsCfg := repo.MustGetUnit(ctx, unit.TypeActions).ActionsConfig()
0 commit comments