From 40741dfbaf89ea7a8af2bf7d5e6f8f5b4dc02859 Mon Sep 17 00:00:00 2001 From: Chris Goller Date: Tue, 5 Sep 2023 15:30:47 -0500 Subject: [PATCH] fix: return err when unable to hash Signed-off-by: Chris Goller --- source/http/source.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/http/source.go b/source/http/source.go index f2db01c8d..7c026c4ce 100644 --- a/source/http/source.go +++ b/source/http/source.go @@ -169,7 +169,7 @@ func (hs *httpSourceHandler) CacheKey(ctx context.Context, g session.Group, inde uh, err := hs.urlHash() if err != nil { - return "", "", nil, false, nil + return "", "", nil, false, err } // look up metadata(previously stored headers) for that URL