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 silent crashes in 11ty #1079

Closed
wants to merge 1 commit into from

Conversation

GerHobbelt
Copy link
Contributor

@GerHobbelt GerHobbelt commented Apr 8, 2020

fix silent crashes in 11ty: any failures with fatal consequences for the build process MUST be reported to the user for diagnosis.

Fixes #1081.

…the build process MUST be reported to the user for diagnosis.
@MadeByMike
Copy link
Contributor

If someone can tell me what causes the crash I'll write a test that confirms this.

Also correct me if wrong but the best way to deal with this might be to put a catch on promise.all(promises) on line 63 we can then throw with the appropriate errors if there are multiple?

@GerHobbelt
Copy link
Contributor Author

See #1080: I did that one back then to showcase the crash.

@zachleat
Copy link
Member

zachleat commented Nov 15, 2020

Yeah we can’t await there as it’d bottleneck the loop.

@zachleat
Copy link
Member

Pushed something similar to this!

@zachleat zachleat added this to the Eleventy 1.0.0 milestone Mar 18, 2021
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.

11ty crashes silently: doesn't output any files while not reporting any error.
3 participants