InnovationEngine
InnovationEngine copied to clipboard
Better error messages for `az` create failures
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
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.