go-jira / jira

simple jira command line client in Go
Apache License 2.0
2.67k stars 326 forks source link

Added the more info if command get failed #466

Closed atul-bhardwaj-sp closed 2 years ago

atul-bhardwaj-sp commented 2 years ago

sometimes it gives html rather then the json and due to this it's very hard to get what is the output only i get Invalid Usage: invalid character '<' looking for beginning of value, may be some problem with jira api call and when i rerun the command it works fine but it's good to have output when it gives any error and also if i use -vvv more verbose it's show authorization bearer token on that and i don't want to show it.