-
Notifications
You must be signed in to change notification settings - Fork 63
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
Added support of active projects exception #1348
Conversation
@@ -82,6 +83,9 @@ def handle_neptune_http_errors(response, exception: Optional[HTTPError] = None): | |||
"WORKSPACE_IN_READ_ONLY_MODE": lambda response_body: NeptuneLimitExceedException( | |||
reason=response_body.get("title", "Unknown reason") | |||
), | |||
"LIMIT_OF_ACTIVE_PROJECTS_REACHED": lambda response_body: ActiveProjectsLimitReachedException( | |||
currentQuota=response_body.get("currentQuota", "<unknown key>") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unknown key
-> unknown quota
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #1348 +/- ##
==========================================
- Coverage 79.81% 79.72% -0.10%
==========================================
Files 277 277
Lines 13589 13592 +3
==========================================
- Hits 10846 10836 -10
- Misses 2743 2756 +13
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Proposed slightly more elaborate message.
Co-authored-by: Sabine <sabine.nyholm@neptune.ai>
Before submitting checklist