fix: return err when unable to hash

Signed-off-by: Chris Goller <goller@gmail.com>
This commit is contained in:
Chris Goller
2023-09-05 15:30:47 -05:00
parent 980ea2d5f9
commit 40741dfbaf

View File

@@ -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