amplify-backend
amplify-backend copied to clipboard
Amplify errors description is not printed in create amplify flows
Describe the bug
Amplify errors description is not printed in create-amplify flows -- anything in options for Amplify Errors is not printed by create-amplify flows. See these areas of code for more context: https://github.com/aws-amplify/amplify-backend/blob/c85d071795a1a56d1db181948d153b39b1a598d3/packages/create-amplify/src/create_amplify.ts#L42 https://github.com/aws-amplify/amplify-backend/blob/c85d071795a1a56d1db181948d153b39b1a598d3/packages/cli-core/src/format/format.ts#L38-L43 Additional example: https://github.com/aws-amplify/amplify-backend/blob/c85d071795a1a56d1db181948d153b39b1a598d3/packages/create-amplify/src/get_project_root.ts#L43
Reproduction steps
See changes to create-amplify in this PR: https://github.com/aws-amplify/amplify-backend/pull/1986 -- fails create-amplify e2e tests because of the change from Error to AmplifyUserError