[gatsby-source-contentful] retry fails due to undefined reporter #31590
Labels
stale?
Issue that may be closed soon due to the original author not responding any more.
topic: source-contentful
Related to Gatsby's integration with Contentful
type: bug
An issue or pull request relating to a bug in Gatsby
In the following function, if
reporter
is undefined, any retries will result in an error being thrown and the file failing to be downloaded, which isn't reported back to the console, but results in this error behing thrown instead:[gatsby-source-contentful] Please install gatsby-plugin-sharp
gatsby/packages/gatsby-source-contentful/src/download-with-retry.js
Lines 16 to 33 in 54d4721
The
downloadWithRetry
function expectsreporter
to be passed in...gatsby/packages/gatsby-source-contentful/src/download-with-retry.js
Line 35 in 54d4721
But, in the two places it's actually used, reporter isn't passed in:
gatsby/packages/gatsby-source-contentful/src/cache-image.js
Lines 62 to 65 in e1a74b5
gatsby/packages/gatsby-source-contentful/src/extend-node-type.js
Lines 114 to 117 in e1a74b5
The text was updated successfully, but these errors were encountered: