Skip to content

chore: improve error message when the client cannot find org by name #408

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

Merged
merged 2 commits into from
Feb 17, 2022

Conversation

bednar
Copy link
Contributor

@bednar bednar commented Feb 17, 2022

Closes #403

Proposed Changes

Add better error message when the used token doesn't have permission to read organizations.

Checklist

  • CHANGELOG.md updated
  • Rebased/mergeable
  • A test has been added if appropriate
  • pytest tests completes successfully
  • Commit messages are in semantic format
  • Sign CLA (if not already signed)

@bednar bednar marked this pull request as ready for review February 17, 2022 08:46
@codecov-commenter
Copy link

codecov-commenter commented Feb 17, 2022

Codecov Report

Merging #408 (39101ea) into master (64a401e) will increase coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #408      +/-   ##
==========================================
+ Coverage   93.24%   93.25%   +0.01%     
==========================================
  Files          28       28              
  Lines        2501     2506       +5     
==========================================
+ Hits         2332     2337       +5     
  Misses        169      169              
Impacted Files Coverage Δ
influxdb_client/client/exceptions.py 100.00% <100.00%> (ø)
influxdb_client/client/util/helpers.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 64a401e...39101ea. Read the comment docs.

@bednar bednar merged commit 52a9d02 into master Feb 17, 2022
@bednar bednar deleted the cannot_find_org branch February 17, 2022 09:09
@bednar bednar added this to the 1.26.0 milestone Mar 18, 2022
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.

create_bucket trigger IndexError: list index out of range
3 participants