function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
SFSkumarSFSkumar 

how to stop unhandled apex exception emails which are getting because of addError() methods in trigger?

SidhantSidhant

Are you sure that emails are generating from addError() method?

It seems you need a Try-Catch block somewhere in your code and log the error it properly to prevent silent failure of the application.

Can you share the error stack you received?

Best,

Sid