Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show timing info even if query returns an error #2331

Closed
e-gineer opened this issue Aug 15, 2022 · 0 comments · Fixed by #2413
Closed

Show timing info even if query returns an error #2331

e-gineer opened this issue Aug 15, 2022 · 0 comments · Fixed by #2413
Assignees
Labels
cli output enhancement New feature or request

Comments

@e-gineer
Copy link
Contributor

I'm troubleshooting some query errors, and sometimes they take a long time to return (~4mins).

I feel that the timing status line should be shown (if possible) even for errors, telling me how long Steampipe took to actually generate the error message.

So this:

> select * from aws_dynamodb_table
Error: ExpiredTokenException: The security token included in the request is expired
	status code: 400, request id: TKRNEDLV0P02OUGN6GK9FGQE5JVV4KQNSO5AEMVJF66Q9ASUAAJG (SQLSTATE HV000)
> 

Should be something like this:

> select * from aws_dynamodb_table
Error: ExpiredTokenException: The security token included in the request is expired
	status code: 400, request id: TKRNEDLV0P02OUGN6GK9FGQE5JVV4KQNSO5AEMVJF66Q9ASUAAJG (SQLSTATE HV000)
> 

Time: 4 mins. Rows fetched: 0. Hydrate calls: 0.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli output enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants