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

Handle exceptions gracefully #14

Merged
merged 7 commits into from
Nov 11, 2023
Merged

Conversation

felixvanoost
Copy link
Owner

Gracefully handles exceptions by exiting the Jekyll build process and displaying an error message. For instance, the stack trace displayed in #13 now shows up as:

[jekyll-kroki] Rendering diagrams using Kroki instance at 'https://expired.badssl.com/'
[jekyll-kroki] "SSL_connect returned=1 errno=0 peeraddr=104.154.89.105:443 state=error: certificate verify failed (certificate has expired)" in 'try_ssl_connect' on line 117 of /usr/local/rvm/gems/default/gems/httpx-1.1.1/lib/httpx/io/ssl.rb

@felixvanoost felixvanoost self-assigned this Nov 11, 2023
@felixvanoost felixvanoost merged commit 3da3b5a into main Nov 11, 2023
3 checks passed
@felixvanoost felixvanoost deleted the handle-exceptions-gracefully branch November 11, 2023 19:14
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.

1 participant