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

libsass_src: Path libsass to throw detailed e.g. "Too many open files" exception #12

Closed
wants to merge 1 commit into from

Conversation

bep
Copy link
Owner

@bep bep commented Aug 27, 2024

In Hugo we have had mysterious and hard-to-debug error reports about faliling imports on MacOs for files that's obviously there.

Instead of just failing with a general error, we now throw a more detailed error message. From the Hugo side it looks like:

Error: error building site: TOCSS: failed to transform "hb/scss/index.scss" (text/x-scss): "<stream>:1:1": error reading file "/Users/bep/dump/large-site-test/_vendor/github.com/twbs/bootstrap/scss/_functions.scss": Too many open files

See gohugoio/hugo#12649

…" exception

In Hugo we have had mysterious and hard-to-debug error reports about faliling imports on MacOs for files that's obviously there.

Instead of just failing with a general error, we now throw a more detailed error message. From the Hugo side it looks like:

```
Error: error building site: TOCSS: failed to transform "hb/scss/index.scss" (text/x-scss): "<stream>:1:1": error reading file "/Users/bep/dump/large-site-test/_vendor/github.com/twbs/bootstrap/scss/_functions.scss": Too many open files
```

See gohugoio/hugo#12649
@bep
Copy link
Owner Author

bep commented Aug 28, 2024

Merge #13 instead.

@bep bep closed this Aug 28, 2024
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