cmd/syncthing: Wording on error return in "cli debug file"
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user