go-jira / jira

simple jira command line client in Go
Apache License 2.0
2.66k stars 323 forks source link

Added more visibility if jira command get html #468

Open atul-bhardwaj-sp opened 1 year ago

atul-bhardwaj-sp commented 1 year 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.