Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return non-zero exit code after error #20

Merged
merged 8 commits into from
Feb 13, 2024

Conversation

felixvanoost
Copy link
Owner

Returns 1 if an error occurs that causes the script to fail:

[jekyll-kroki] "SSL_connect returned=1 errno=0 state=error: certificate verify failed (certificate has expired)" in 'render_diagram' on line 76 of /workspaces/jekyll-kroki/lib/jekyll/kroki.rb
$ echo $?
1

Closes #19

@felixvanoost felixvanoost self-assigned this Feb 13, 2024
@felixvanoost felixvanoost merged commit 229c7ef into main Feb 13, 2024
3 checks passed
@felixvanoost felixvanoost deleted the return-nonzero-exit-code-after-error branch February 13, 2024 04:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Script returns with exit code 0 after error
1 participant