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 misleading error message if built-in app trigger was missing required parameter #1440

Merged

Conversation

itowlson
Copy link
Contributor

Fixes #1434.

$ spin up -f ./crates/loader/tests/missing-http-base.toml 
Error: Cannot read spin.toml manifest from "/home/ivan/github/spin/crates/loader/tests/missing-http-base.toml"

Caused by:
    could not load application trigger parameters: missing field `base` at line 11 column 1

…ired parameter

Signed-off-by: itowlson <ivan.towlson@fermyon.com>
@fibonacci1729
Copy link
Contributor

Looks good, worked for me!

@itowlson itowlson merged commit 5bcc14b into fermyon:main May 1, 2023
9 checks passed
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.

"No built-in trigger named 'http'" if trigger.base is missing
2 participants