Newer Version Available
Email Notifications for Triggers in Error State
The email notification is not sent for general unhandled exceptions, such as uncatchable limit exceptions. Unlike Apex object triggers, platform event triggers don’t generate exception emails for unhandled exceptions.
For a platform event trigger in the error state, the notification is sent to the developer specified in the trigger’s Last Modified By field. To also send the email to other users, add them on the Apex Exception Email page in Setup. The recipients specified on the Apex Exception Email page also apply to emails sent for Apex object triggers and classes.
- From Setup, enter Apex Exception Email in the Quick Find box.
- Select Apex Exception Email.
The users and email addresses entered apply to all managed packages in the customer's org. You can also configure Apex exception emails using the Tooling API object ApexEmailNotification.