Skip to content

Commit 5549a23

Browse files
ascorbicgatsbybot
and
gatsbybot
authored
fix(gatsby-plugin-sharp): Don't swallow sharp errors (#26806)
Co-authored-by: gatsbybot <[email protected]>
1 parent 4610102 commit 5549a23

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/gatsby-plugin-sharp/src/sharp-error.js

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ export class SharpError extends Error {
1313
fullErrorMessage += `
1414
1515
Original error:
16+
${err.shortMessage ?? ``}
1617
${err.message}`
1718
}
1819

0 commit comments

Comments
 (0)