From 1e212a8dc67549fb8fb72df40f2095bda7de8e47 Mon Sep 17 00:00:00 2001 From: Jakob Borg Date: Sat, 5 Jun 2021 11:45:29 +0200 Subject: [PATCH] cmd/syncthing: Wording on error return in "cli debug file" --- cmd/syncthing/cli/utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/syncthing/cli/utils.go b/cmd/syncthing/cli/utils.go index beb543e02..6aaea1984 100644 --- a/cmd/syncthing/cli/utils.go +++ b/cmd/syncthing/cli/utils.go @@ -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