Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

blob.count() failure is not logged #144

Open
jeffmcaffer opened this issue Aug 24, 2018 · 0 comments
Open

blob.count() failure is not logged #144

jeffmcaffer opened this issue Aug 24, 2018 · 0 comments

Comments

@jeffmcaffer
Copy link
Contributor

If you run the crawler with azure blob configured as the deadletter store but using a SAS token that does not have List permissions, and hit the deadletter store count end point, the blob list appears to not fail (no error) but the result is null and then is accessed unprotected resulting the in the below stack trace. Note tha thtis was in the jm/apiCrawler branch but the code is the same as master

TypeError: Cannot read property 'entries' of null
at /opt/service/node_modules/ghcrawler/providers/storage/storageDocStore.js:174:32
at finalCallback (/opt/service/node_modules/azure-storage/lib/services/blob/blobservice.js:5814:7)
at /opt/service/node_modules/azure-storage/lib/common/filters/retrypolicyfilter.js:178:13

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant