Skip to content

Commit 40741df

Browse files
committed
fix: return err when unable to hash
Signed-off-by: Chris Goller <[email protected]>
1 parent 980ea2d commit 40741df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/http/source.go

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

170170
uh, err := hs.urlHash()
171171
if err != nil {
172-
return "", "", nil, false, nil
172+
return "", "", nil, false, err
173173
}
174174

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

0 commit comments

Comments
 (0)