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

Better errors #9

Merged
merged 2 commits into from
Sep 7, 2024
Merged

Better errors #9

merged 2 commits into from
Sep 7, 2024

Conversation

NicoElbers
Copy link
Owner

Previously, as mentioned in #8, broken assertions in the zig code would
generate cryptic error messages. A bunch of these assertions however
could be triggered by user behavior, like accidentally trying to include
a plugin twice, or through an incorrect assumption in nixpkgs.

In situations like these, I now have more sensible readable error
messages with potential fixes.

Besides this, I found a small bug in customSubs, which I have a hotfix for. I don't know nix well enough :')

I'm not good at nix, apparently 2 with statements interfere. Good luck
figuring it out, I can't rn
Previously, as mentioned in #8, broken assertions in the zig code would
generate cryptic error messages. A bunch of these assertions however
could be triggered by user behavior, like accidentally trying to include
a plugin twice, or through an incorrect assumption in nixpkgs.

In situations like these, I now have more sensible readable error
messages with potential fixes.
@NicoElbers NicoElbers self-assigned this Sep 7, 2024
@NicoElbers NicoElbers merged commit b400818 into main Sep 7, 2024
@NicoElbers NicoElbers deleted the better-errors branch September 7, 2024 19:30
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