Skip to content

Add error messages to benefit grants #5636

@frankie567

Description

@frankie567

In some cases, we might have unrecoverable errors when trying to grant a benefit.

Typically, with the GitHub benefit, we had a case where the organization didn't have any seat left to invite the customer. This is unrecoverable for us, but we need to inform the customer about it.

We have the BenefitActionRequiredError exception raised in this kind of cases, but we do nothing from it.

What we could do is to add a dedicated (JSONB?) column to store the error information, so we can display it properly in the UI.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions