diff --git a/antarest/study/service.py b/antarest/study/service.py index f69c7eace4..24eff03254 100644 --- a/antarest/study/service.py +++ b/antarest/study/service.py @@ -2068,7 +2068,7 @@ def delete_link( ) if referencing_binding_constraints: binding_ids = [bc.id for bc in referencing_binding_constraints] - raise ReferencedObjectDeletionNotAllowed(link_id, binding_ids, object_type="link") + raise ReferencedObjectDeletionNotAllowed(link_id, binding_ids, object_type="Link") self.links_manager.delete_link(study, area_from, area_to) self.event_bus.push( Event(