Skip to content

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

@vmasek

Description

@vmasek
  • 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?"
  • 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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions