Page MenuHomePhabricator

Should WMFException extend CiviCRM_Core_Exception?
Closed, ResolvedPublic

Description

Currently, when we run ThankYou::Send from the UI (from the contribution, click more and Send Thank You), if an exception is thrown, it is a WMFException which is not handled by core and not handled outside of the queue context. The simplest fix would be just to make WMFException extend CiviCRM_Core_Exception, but maybe there's more to think about here?

See T414250: Thank you email fails to send but reports success for an example.

Event Timeline

Lars triaged this task as Low priority.Jan 12 2026, 9:31 PM
Lars moved this task from Triage to Chaos Crew Backlog on the Fundraising-Backlog board.
Lars claimed this task.

Have switched to CRM_Core_Exception for thank you email sending specifically, leaving the rest as WMF_Exception for the queues per discussion with Eileen.