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

Uninformative error, when trying to connect to topic which is not added to credentials #106

Open
Sheshuk opened this issue May 23, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Sheshuk
Copy link

Sheshuk commented May 23, 2024

Observed behaviour

When I tried to do snews_pt test-connection --no-firedrill without the permissions to access the topic, I get this error message

ValueError: topic snews.connection-testing does not exist on the broker, so can't subscribe

Expected behaviour

As a user I expect an error to tell about the missing access right to the topic (which is client problem), not the missing topic (which is the server problem).

Steps to reproduce

  1. Create a new scimma login, and new credentials for it
  2. Run hop auth add with the new credentials
  3. Don't add the snews topics to the credential.
  4. Run snews_pt test-connection --no-firedrill
@Sheshuk Sheshuk added the bug Something isn't working label May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant