InnovationEngine icon indicating copy to clipboard operation
InnovationEngine copied to clipboard

Better error messages for `az` create failures

Open vmarcella opened this issue 1 year ago • 1 comments

Whenever az <resource> create commands are executed, their failure messages usually come in the form of JSON. In order to better render the error details in the portal, we need to parse out the contents of the JSON for it's message field and bubble it up to the portal via ocdStatus

vmarcella avatar Sep 05 '23 18:09 vmarcella

Main problem is there's no standardization in output from CLI commands, so they're difficult to parse.

Could be fixed by passing JSON output to LLM to receive error message.

mbifeld avatar Sep 26 '23 22:09 mbifeld