Unrecoverable error while generating Gatsby Image CDN fields crashes gatsby develop #37557
Closed
2 tasks done
Labels
good first issue
Issue that doesn't require previous experience with Gatsby
help wanted
Issue with a clear description that the community can help with.
topic: source-drupal
Related to Gatsby's integration with Drupal
topic: source-plugins
Relates to the Gatsby source plugins (e.g. -filesystem)
type: bug
An issue or pull request relating to a bug in Gatsby
Preliminary Checks
Description
If you run
gatsby develop
it crashes and fails to build successfully whenever it runs into a problem with a random image:After I changed
reporter.panic
toreporter.warn
(line 115 ofgatsby-source-drupal/normalize.js
) thegatsby develop
command completed successfully and my local dev site worked. In other words, there's no legitimate reason forgatsby develop
to fail outright simply because one image out of potentially thousands doesn't get its Image CDN fields generated.Reproduction Link
n/a
Steps to Reproduce
Since there are any number of reasons outside a user's control for Image CDN field generation to fail, it would be difficult to deliberately reproduce this. It's most common on slower internet connections, however, so that would be a place to start - run
gatsby develop
in an environment with a slow internet connection.Expected Result
gatsby develop
should complete successfully.Actual Result
gatsby develop
fails and crashes with the following error message:[gatsby-source-drupal] Encountered an unrecoverable error while generating Gatsby Image CDN fields for url
[image URL here - this is random and changes each time] See above for additional information.
If you manually edit
normalize.js
as I described above, you'll still see the error message, butgatsby develop
will continue and eventually finish successfully.Environment
Config Flags
The text was updated successfully, but these errors were encountered: