cli icon indicating copy to clipboard operation
cli copied to clipboard

improve errors & logs coming from upload command & portal-client

Open vmasek opened this issue 11 months ago • 0 comments

  • [ ] 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

Image

... lot of scrolling in between

Image

vmasek avatar Jan 08 '25 15:01 vmasek