question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Provide a verbose option to see reason for a failure

See original GitHub issue

Is 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:closed
  • Created 5 years ago
  • Reactions:21
  • Comments:19 (3 by maintainers)

github_iconTop GitHub Comments

10reactions
rajeshrthlcommented, Aug 20, 2019

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.

9reactions
flyandicommented, Oct 28, 2019

Is there any progress here… this is not useful:

image

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found