Braintree gateway ServerError not handled properly #81121
Labels
No Label
legacy project
Infrastructure: blender.org
legacy project
Infrastructure: Websites
Priority
High
Priority
Low
Priority
Normal
Status
Archived
Status
Confirmed
Status
Needs Information from Developers
Status
Resolved
Type
Bug
Type
Design
Type
Report
Type
To Do
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: infrastructure/devfund-website#81121
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When Braintree goes down, for example for maintenance, their SDK will raise a
ServerError
from/var/www/blender-fund/.venv/lib/python3.6/site-packages/braintree/util/http.py
inraise_exception_from_status
, line 49. This function is called indirectly by the callself.braintree.client_token.generate(params)
fromlooper/gateways.py
, functiongenerate_client_token
.The exception is not caught properly, resulting in an internal server error. Probably it's best to catch this exception at a higher level than that particular call, and present a generic error message to the user.
Changed status from 'Needs Triage' to: 'Confirmed'
Added subscribers: @dr.sybren, @fsiddi, @railla