From 77c421b940cf13b2dab74e1a0d72c38c3c60487b Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Mon, 5 Jan 2015 20:17:15 +0100 Subject: [PATCH] Fix error message --- contenthandler.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contenthandler.go b/contenthandler.go index 7381178e8..03284c1cc 100644 --- a/contenthandler.go +++ b/contenthandler.go @@ -148,7 +148,7 @@ func (ch *ContentHandler) Load(t backend.Type, id backend.ID) ([]byte, error) { // lookup storage hash blob, err := ch.bl.Find(Blob{ID: id}) if err != nil { - return nil, fmt.Errorf("Storage ID %s not found", id) + return nil, fmt.Errorf("Storage ID for ID %s not found", id) } // load data @@ -235,7 +235,7 @@ func (ch *ContentHandler) Test(t backend.Type, id backend.ID) (bool, error) { // lookup storage hash blob, err := ch.bl.Find(Blob{ID: id}) if err != nil { - return false, fmt.Errorf("Storage ID %s not found", id) + return false, fmt.Errorf("Storage ID for ID %s not found", id) } id = blob.Storage