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 message when input isn't declared in pipeline #319

Closed
Mokshit06 opened this issue Sep 19, 2021 · 1 comment
Closed

Improve error message when input isn't declared in pipeline #319

Mokshit06 opened this issue Sep 19, 2021 · 1 comment

Comments

@Mokshit06
Copy link

Mokshit06 commented Sep 19, 2021

Currently, if you have a Runefile.yml that looks like

pipeline:
  some_input:
    capability: ...
    output: ...
  processing:
    inputs:
      - another_input

it will throw an error like IndexMap: key not found because another_input isn't declared in the pipeline.

I think it would be a better debugging experience if it would throw an error like 'another_input' was not found in the pipeline, but is being passed as an input to 'processing'.
This error is particularly confusing when it occurs due to a typo.

@Mokshit06 Mokshit06 changed the title Improve error messages Improve error message when input isn't declared in pipeline Sep 19, 2021
@Michael-F-Bryan
Copy link
Contributor

Resolved by #322.

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

2 participants