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(bake): Improve error message #375

Merged
merged 1 commit into from
May 20, 2019
Merged

fix(bake): Improve error message #375

merged 1 commit into from
May 20, 2019

Conversation

ezimanyi
Copy link
Contributor

Fixes spinnaker/spinnaker#4110

When supplying an artifact without a reference, we currently throw an NPE that is hard to debug. Replace this with a better error message.

(At some point we could consider if we even need a reference at all, or if we could fall back to something else, but for now this will at least make the restriction clearer.)

When supplying an artifact without a reference, we currently
throw an NPE that is hard to debug. Replace this with a better
error message.

(At some point we could consider if we even need a reference at
all, or if we could fall back to something else, but for now this
will at least make the restriction clearer.)
@ezimanyi ezimanyi merged commit a86c365 into spinnaker:master May 20, 2019
@ezimanyi ezimanyi deleted the add-error branch May 20, 2019 12:48
opsmxdemo pushed a commit to OpsMx/rosco that referenced this pull request Sep 15, 2020
When supplying an artifact without a reference, we currently
throw an NPE that is hard to debug. Replace this with a better
error message.

(At some point we could consider if we even need a reference at
all, or if we could fall back to something else, but for now this
will at least make the restriction clearer.)
opsmxdemo pushed a commit to OpsMx/rosco that referenced this pull request Sep 16, 2020
When supplying an artifact without a reference, we currently
throw an NPE that is hard to debug. Replace this with a better
error message.

(At some point we could consider if we even need a reference at
all, or if we could fall back to something else, but for now this
will at least make the restriction clearer.)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bake Manifest Error when using webhook
3 participants