steampipe
steampipe copied to clipboard
Show timing info even if query returns an error
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.