You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When having a mis-configured file at ~/.spin/config the error message provided is missing information about where to fix this issue.
Motivation
I was moving really fast and dumped in a ~/.spin/config file that was not formatted correctly. When I moved on to use the shore CLI it was then I found out about this issue and I did not know what was the context for this error. Having a clear identification of where the issue is occurring would help.
The expected outcome would have the filename of what is being parsed to set the context of where the issue is located.
➜ shore save
WARN[0000] Save pipeline returned an error: error converting YAML to JSON: yaml: line 7: did not find expected key
error converting YAML to JSON: yaml: line 7: did not find expected key
The text was updated successfully, but these errors were encountered:
Summary
When having a mis-configured file at
~/.spin/config
the error message provided is missing information about where to fix this issue.Motivation
I was moving really fast and dumped in a
~/.spin/config
file that was not formatted correctly. When I moved on to use theshore
CLI it was then I found out about this issue and I did not know what was the context for this error. Having a clear identification of where the issue is occurring would help.The expected outcome would have the filename of what is being parsed to set the context of where the issue is located.
Describe alternatives you've considered
Have not considered any alternatives.
Additional context
Here is an example of the
~/.spin/config
I used:I got the following output:
The text was updated successfully, but these errors were encountered: