Skip to content

Why is process.exit(1) added in nodeHtmlToImage method? #193

Discussion options

You must be logged in to vote

Hello @silhouette5366 👋 When I created node-html-to-image it was for my own usage. My main usecase was creating thumbnails for blogposts on a gatsby app. It was called during the build process so in a CLI context, I wanted it to stop the process if something went wrong. I know some people have different usage for the library now. So feel free to open an issue/pull request about it 😄

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@silhouette5366
Comment options

Answer selected by silhouette5366
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants