Skip to content

Add proper handling for foreign key exceptions #854

@Taucher2003

Description

@Taucher2003

We have operations where we delete entities and don't handle errors on foreign keys resulting in an error response to the client.

Either we should add checks that the entity we want to delete is not being referenced or we should rescue the foreign key exception and return a generic error for these cases

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

System

None yet

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions