mirror of
https://github.com/octoleo/syncthing.git
synced 2025-01-03 07:12:27 +00:00
cmd/syncthing: Wording on error return in "cli debug file"
This commit is contained in:
parent
0e9d2a13af
commit
1e212a8dc6
@ -49,7 +49,7 @@ func indexDumpOutput(url string) cli.ActionFunc {
|
|||||||
}
|
}
|
||||||
response, err := client.Get(url)
|
response, err := client.Get(url)
|
||||||
if errors.Is(err, errNotFound) {
|
if errors.Is(err, errNotFound) {
|
||||||
return errors.New("not found (debugging disabled or folder/file not in database)")
|
return errors.New("not found (folder/file not in database)")
|
||||||
}
|
}
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
Loading…
Reference in New Issue
Block a user