Skip to content

Commit 2ed6628

Browse files
gollerjedevc
authored andcommitted
fix: return err when unable to hash
Signed-off-by: Chris Goller <[email protected]> (cherry picked from commit 40741df) Signed-off-by: Justin Chadwell <[email protected]>
1 parent c297384 commit 2ed6628

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/http/httpsource.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ func (hs *httpSourceHandler) CacheKey(ctx context.Context, g session.Group, inde
127127

128128
uh, err := hs.urlHash()
129129
if err != nil {
130-
return "", "", nil, false, nil
130+
return "", "", nil, false, err
131131
}
132132

133133
// look up metadata(previously stored headers) for that URL

0 commit comments

Comments
 (0)