[PR #11646] Run risky code in finally block #13154

Open
opened 2026-01-22 16:16:21 +01:00 by admin · 0 comments
Owner

Original Pull Request: https://github.com/doctrine/orm/pull/11646

State: closed
Merged: Yes


catch blocks are not supposed to fail. If you want to do something despite an exception happening, you should do it in a finally block.

(finally) Fixes #7545

**Original Pull Request:** https://github.com/doctrine/orm/pull/11646 **State:** closed **Merged:** Yes --- `catch` blocks are not supposed to fail. If you want to do something despite an exception happening, you should do it in a `finally` block. (finally) Fixes #7545
admin added the pull-request label 2026-01-22 16:16:21 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#13154