Skip to content

Commit

Permalink
Change reporter.panic to reporter.panicOnBuild
Browse files Browse the repository at this point in the history
Fixes issue gatsbyjs#37557 so gatsby develop runs successfully even if Image CDN field generation fails for a particular image
  • Loading branch information
tqureshi-uog authored Feb 1, 2023
1 parent 1fef624 commit cfe3734
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/gatsby-source-drupal/src/normalize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ const getGatsbyImageCdnFields = async ({
2
)
)
reporter.panic(
reporter.panicOnBuild(
`[gatsby-source-drupal] Encountered an unrecoverable error while generating Gatsby Image CDN fields for url ${url}. See above for additional information.`
)
}
Expand Down

0 comments on commit cfe3734

Please sign in to comment.