Provide a verbose option to see reason for a failure
See original GitHub issueIs your feature request related to a problem? Please describe. The CLI sometimes displays an error and does not give enough information why. For example, just the phrase “Access Denied”
➜ directory-on-tap git:(master) ✗ amplify push --verbose
| Category | Resource name | Operation | Provider plugin |
| -------- | ------------- | --------- | ----------------- |
| Auth | dotauthdev | Delete | awscloudformation |
? Are you sure you want to continue? true
✖ An error occurred when pushing the resources to the cloud
Access Denied
or
✖ An error occurred when pushing the resources to the cloud
Your socket connection to the server was not read from or written to within the timeout period. Idle connections will be closed.
Describe the solution you’d like
I would like an option --verbose
and -v
which would display the operations which the CLI is performing on the server. With that information, I can diagnose what is the problem and then make changes to the CloudFormation document or User Policy.
Describe alternatives you’ve considered I’ve tried to guess what is wrong, but it’s a frustrating (and unsuccessful in my case) way of understanding what is going wrong.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:21
- Comments:19 (3 by maintainers)
Top Results From Across the Web
The CLI's Essential 'Verbose' Option | Dojo Five
For failures, we will want to give one error line. It should be short and to the point, but readable. For example, say...
Read more >How to produce a make build that is verbose only on failure
The reason of course is that it gives the opportunity to see the actual compilation flags for the failing step and allows to...
Read more >Enable verbose startup, shutdown, logon, and logoff status ...
Enable verbose status messages by using Registry Editor · Click Start > Run. · In the Open box, type regedit, and then click...
Read more >2 Understanding Verbose Output
The -Xverbose command-line option enables verbose output from the Oracle JRockit ... Page faults cause memory access to become slow, and page faults...
Read more >Introduction to Verbose Mode (SSH, The Secure Shell
As you try these options, occasionally you might see behavior that's not what you ... In verbose mode, the client prints messages as...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I’ve got this same issue. Is there no way to see verbose error message when running amplify commands? Adding a flag like
--verbose
would be greatly helpful when debugging issues.Is there any progress here… this is not useful: