zendesk / zcli

A command-line tool for Zendesk
https://developer.zendesk.com
Apache License 2.0
62 stars 21 forks source link

Add verbose logging for all commands #66

Open sarmadsangi opened 3 years ago

sarmadsangi commented 3 years ago

Expectations

User should be able to see full trace of errors, logs etc to be able to debug an issue when things go south on their end.

Reality

Users can't debug errors and warnings to full extent given we mask most errors with friendly error messages. We hide traces etc.

jheth commented 1 year ago

Please fix this!

fairphone-franz-geiger commented 11 months ago

This would be particularly useful when an upload from zcli apps:update fails. Currently, only the error message is printed to the console and there is no way to get more details, because the API does not contain an endpoint to list app statuses. It only contains an endpoint to get a single status by ID. This verbose logging could at least print the upload ID, so that it is possible to learn more details.

zach-anthony commented 11 months ago

@fairphone-franz-geiger thanks for the feedback. We're planning to work on a number of improvements in this space in the first half of next year, but will take on board prioritising at least including the upload ID and the job status ID, as a starting point.

slavoroi commented 3 months ago

We are failing for some reason and can't see why. You have to implement this feature. We're blind. This is an example: image

image