Replies: 4 comments 1 reply
-
Have you used the |
Beta Was this translation helpful? Give feedback.
1 reply
-
Beta Was this translation helpful? Give feedback.
0 replies
-
PR #37165 ready. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Preliminary Checks
Description
My building contains a log of images, somehow some images are not supported by
sharp
(will throw errors). But can we add an option togastby-plugin-sharp
NOT to exit when this happens?When images are not supported by
sharp
, the following error would be met:When the above error occurs it hard-breaks the building process.
Better to have the option to continue ignoring the failing image processing.
Reproduction Link
https://github.com/Jeff-Tian/space/actions
Steps to Reproduce
Expected Result
The building process continues leaving the failed image processing.
Actual Result
The building hard stops.
Environment
Config Flags
By writing some test cases I found the root cause is the devil
process.exit(1)
code in thegatsby-plugin-sharp
.https://stackoverflow.com/questions/74546620/gatsby-remark-images-remote-make-the-build-fail-how-to-troubleshoot-the-root-ca
Beta Was this translation helpful? Give feedback.
All reactions