Skip to content

Commit

Permalink
fix(gatsby-plugin-sharp): Don't swallow sharp errors (#26806)
Browse files Browse the repository at this point in the history
Co-authored-by: gatsbybot <[email protected]>
  • Loading branch information
ascorbic and gatsbybot authored Sep 8, 2020
1 parent 4610102 commit 5549a23
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/gatsby-plugin-sharp/src/sharp-error.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export class SharpError extends Error {
fullErrorMessage += `
Original error:
${err.shortMessage ?? ``}
${err.message}`
}

Expand Down

0 comments on commit 5549a23

Please sign in to comment.