cmd/syncthing: Wording on error return in "cli debug file"

This commit is contained in:
Jakob Borg 2021-06-05 11:45:29 +02:00
parent 0e9d2a13af
commit 1e212a8dc6

View File

@ -49,7 +49,7 @@ func indexDumpOutput(url string) cli.ActionFunc {
}
response, err := client.Get(url)
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 {
return err