opticdev/optic

`optic run` Misleading logs

Alexandre-Herve opened this issue · 5 comments

Optic run: Any YAML syntax error or OpenAPI validation issue will cause this error

Screenshot 2023-09-05 at 1 09 48 PM

@acunniffe could you give me a bit more details about the context, in particular did you happen to run this from a git repository without a remote origin set?

Improved the error message, but I still have to figure out why it triggers in your case:

image

(added the missing "by" in "by their path")

Hmm. I can't get it to show up anymore. Now I remove all remotes this happens:
Screenshot 2023-09-07 at 9 01 36 AM

ah, do you have at least one commit or not?