From a9034a1baae24357fa49e9dc4ef25922c1ec6a90 Mon Sep 17 00:00:00 2001 From: mishaz Date: Fri, 3 Oct 2014 00:38:39 +0000 Subject: [PATCH] Fixed bug where error was dropped on the floor! --- sdk/go/manifest/manifest.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sdk/go/manifest/manifest.go b/sdk/go/manifest/manifest.go index ad0948847e..882b4ff45d 100644 --- a/sdk/go/manifest/manifest.go +++ b/sdk/go/manifest/manifest.go @@ -34,7 +34,8 @@ type ManifestLine struct { func parseBlockLocator(s string) (b BlockLocator, err error) { if !LocatorPattern.MatchString(s) { - fmt.Errorf("String \"%s\" does not match BlockLocator pattern \"%s\".", + err = fmt.Errorf("String \"%s\" does not match BlockLocator pattern " + + "\"%s\".", s, LocatorPattern.String()) } else { -- 2.39.5