cli
cli copied to clipboard
improve errors & logs coming from upload command & portal-client
- [ ] do not print the whole payload of the GQL request with whole report just to confuse user
- [ ] dedicated error message if it was wrong token
- [ ] mention if it is an error for the local GQL client (SDK) used for upload or if it actually hit the server and the error is from server
- [ ] try to check if the URL is wrong (we could have some kind of health check or identifier to know URL is good) Tell user something like "are you sure this url is OK?"
- [x] parse if it was non existent organization
- [ ] parse if it was non existent project
Log for failed saveReport on upload via autorun command with wrong API key
... lot of scrolling in between