good morning!!!!

Skip to content
Snippets Groups Projects
Commit f5e6634f authored by Elad's avatar Elad Committed by Anton Evangelatov
Browse files

swarm/api: improve not found error msg (#18171)

parent 93854bba
No related branches found
No related tags found
No related merge requests found
...@@ -472,7 +472,7 @@ func (a *API) Get(ctx context.Context, decrypt DecryptFunc, manifestAddr storage ...@@ -472,7 +472,7 @@ func (a *API) Get(ctx context.Context, decrypt DecryptFunc, manifestAddr storage
// no entry found // no entry found
status = http.StatusNotFound status = http.StatusNotFound
apiGetNotFound.Inc(1) apiGetNotFound.Inc(1)
err = fmt.Errorf("manifest entry for '%s' not found", path) err = fmt.Errorf("Not found: could not find resource '%s'", path)
log.Trace("manifest entry not found", "key", contentAddr, "path", path) log.Trace("manifest entry not found", "key", contentAddr, "path", path)
} }
return return
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment