Open purplecabbage opened 2 years ago
JIRA issue created: https://jira.corp.adobe.com/browse/ACNA-1740
This seems to be a general error object formatting issue in aio-lib-core-errors but I suspect we need to tweak aio-lib-console to pretty print errors https://github.com/adobe/aio-lib-console/blob/65087ad0c3f856d1c4ca0011fdec8c2ccb1ff217/src/index.js#L1260 (and similar libs)
Describe the bug
The error message is not clear
To Reproduce run aio app deploy on a production workspace that has already been deployed+approved
Expected behavior A clear error message stating the error condition, and how to fix it is shown
Instead it looks like the entire error object is output, which is not very friendly