From d0dee0d11139177842537552ef8a29997b510d63 Mon Sep 17 00:00:00 2001 From: Yehuda Kremer Date: Thu, 6 May 2021 14:58:49 +0300 Subject: [PATCH] fix(gatsby-plugin-image): print error details (#30417) Co-authored-by: Lennart --- packages/gatsby-plugin-image/src/node-apis/image-processing.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/gatsby-plugin-image/src/node-apis/image-processing.ts b/packages/gatsby-plugin-image/src/node-apis/image-processing.ts index f9c790b71a114..6758aa54a9ed9 100644 --- a/packages/gatsby-plugin-image/src/node-apis/image-processing.ts +++ b/packages/gatsby-plugin-image/src/node-apis/image-processing.ts @@ -110,7 +110,7 @@ export async function writeImages({ reporter, }) } catch (err) { - reporter.error(`Error loading image ${src}`) + reporter.error(`Error loading image ${src}`, err) return } if (