Skip to content

Conversation

@Seppli11
Copy link
Contributor

@Seppli11 Seppli11 commented Mar 28, 2025

The following list shows the different error messages that will be shown in different scenarios.

  • Missing parameters
    image
  • invalid token
    image
  • SQ Version too old
    image
  • Invalid region
    image
  • invalid checksum
    image
  • invalid CLI arg
    image

When --verbose is passed (or debug logging is activated through another mechanism), the stack trace is shown as well. Unfortunately, this doesn't work for missing cli args, since the exception is thrown before the logging can be configured.
image

@Seppli11 Seppli11 force-pushed the SCANPY-149 branch 15 times, most recently from f9c746d to 5636bbd Compare March 31, 2025 13:07
@sonarqube-next
Copy link

@Seppli11 Seppli11 changed the title SCANPY-148 Provide useful error message in case an exception is raised SCANPY-149 Provide useful error message in case an exception is raised Mar 31, 2025
Copy link
Contributor

@thomas-serre-sonarsource thomas-serre-sonarsource left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!
The new messages are so explicit, great work!

@Seppli11 Seppli11 merged commit 7289d73 into master Apr 1, 2025
15 checks passed
@Seppli11 Seppli11 deleted the SCANPY-149 branch April 1, 2025 08:35
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

Successfully merging this pull request may close these issues.

2 participants