diff options
author | Elad <theman@elad.im> | 2018-11-26 19:53:15 +0800 |
---|---|---|
committer | Anton Evangelatov <anton.evangelatov@gmail.com> | 2018-11-26 19:53:15 +0800 |
commit | f5e6634fd2fd2be5520c77edb7a5cd375eb28fd4 (patch) | |
tree | 1a31528264f8257db08eced51c806f74b5b6752f | |
parent | 93854bbad4fb819375463d04cf6b7e66b7f272f7 (diff) | |
download | dexon-f5e6634fd2fd2be5520c77edb7a5cd375eb28fd4.tar.gz dexon-f5e6634fd2fd2be5520c77edb7a5cd375eb28fd4.tar.zst dexon-f5e6634fd2fd2be5520c77edb7a5cd375eb28fd4.zip |
swarm/api: improve not found error msg (#18171)
-rw-r--r-- | swarm/api/api.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/swarm/api/api.go b/swarm/api/api.go index 7bb631967..099a46939 100644 --- a/swarm/api/api.go +++ b/swarm/api/api.go @@ -472,7 +472,7 @@ func (a *API) Get(ctx context.Context, decrypt DecryptFunc, manifestAddr storage // no entry found status = http.StatusNotFound 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) } return |