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

Improve error messages by including filepath #1238

Open
mariusvniekerk opened this issue Dec 5, 2024 · 0 comments
Open

Improve error messages by including filepath #1238

mariusvniekerk opened this issue Dec 5, 2024 · 0 comments

Comments

@mariusvniekerk
Copy link
Contributor

When rattler-build fails to parse a recipe it emits something like this

Error:   × Parsing: failed to parse match spec: unable to parse version spec: _debug
     ╭─[129:7]
 128 │     - uriparser
 129 │     - velox ${{ velox_version }} ${{ velox_build }}_debug
     ·       ─────────────────────────┬─────────────────────────
     ·                                ╰── error parsing `velox  _debug` as a match spec
 130 │     - yaml-cpp ${{ yaml_cpp }}

it would be even more helpful if we replaced the 129:7 with the something like relativepath/recipe.yaml:129:7 which would point to which recipe file is failing to parse when building multiple recipes that have dependencies.

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

No branches or pull requests

1 participant