We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fbe9df1 commit 67f96afCopy full SHA for 67f96af
controllers/v1/stream/stream.go
@@ -248,7 +248,7 @@ func (r *Repos) FindStream(c echo.Context) error {
248
}
249
250
if findEndpoint.EndpointID == 0 && (len(findEndpoint.Application) == 0 || len(findEndpoint.Name) == 0) {
251
- err = fmt.Errorf("failed to bind to request json: missing application, name or endpoint id")
+ err = errors.New("failed to bind to request json: missing application, name or endpoint id")
252
return echo.NewHTTPError(http.StatusBadRequest, err)
253
254
0 commit comments