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

fix: improve error handling for missing output.html.print setting #32

Merged
merged 1 commit into from
Dec 5, 2023

Conversation

brian-dlee
Copy link
Contributor

I pulled my hair out for a few hours trying to figure out why the "pdf" backend kept failing after I had all dependencies installed. The docs indicate that output.html.print is enabled by default. For one reason or another, this was not active for
me the resulting stack trace is not very informative. This adds an error check to the code to improve the output when this circumstance is encountered.

@brian-dlee brian-dlee force-pushed the bl-print-error-check branch from 47d4ba8 to 72fb9fa Compare December 4, 2023 23:14
Copy link
Owner

@HollowMan6 HollowMan6 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's nice, thank you for your contribution.

@@ -9,7 +9,7 @@ license = "GPL-3.0"
name = "mdbook-pdf"
readme = "README.md"
repository = "https://github.com/HollowMan6/mdbook-pdf"
version = "0.1.7"
version = "0.1.8"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will make a new release once headless_chrome includes my last PR rust-headless-chrome/rust-headless-chrome#439 so that I can unfork from my dependency 7250bba (should be soon)

@HollowMan6 HollowMan6 merged commit 1015b6f into HollowMan6:main Dec 5, 2023
53 of 55 checks passed
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.

2 participants