-
-
Notifications
You must be signed in to change notification settings - Fork 261
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
New devmode
hides build errors
#787
Comments
cc @alejandrosame @fricklerhandwerk since you worked on this in 42add65. |
I also tried seeing if the call to |
Also, IME it's quite a bit slower than the previous version, probably because it goes through a whole |
@asymmetric Please try PR #788. The error now gets rendered and displayed in the browser. At the moment we introduced this |
This was fixed in #811 |
Observations
When running
nix-shell --run devmode
, build errors are kinda hidden (scroll right on the paste below to see:Could not lex literal_block as "nix"
)Also notice that the script continues, even though (initial) building failed.
To reproduce
Change the language in a fenced code block on any CommonMark file, thereby inducing a parsing error in sphinx.
Problem
The problem is that
nix build
is run inside a python script that doesn't (or can't?) do error handling.Approaches
One way is to make the first build into a dependency of the script. This way, at least initial build errors will be blocking and shown properly. Subsequent ones won't.
Willing to help?
Claro.
Priorities
Add 👍 to issues you find important.
The text was updated successfully, but these errors were encountered: