Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 of 6 tasks
Tracked by #888
vmasek opened this issue Jan 8, 2025 · 0 comments
Open
1 of 6 tasks
Tracked by #888

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

vmasek opened this issue Jan 8, 2025 · 0 comments
Assignees

Comments

@vmasek
Copy link
Collaborator

vmasek commented Jan 8, 2025

  • 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

@vmasek vmasek self-assigned this Jan 8, 2025
@vmasek vmasek changed the title improve logs coming from upload command & portal-client improve errors & logs coming from upload command & portal-client Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant