Unhandled exception when email limits are reached #547
Labels
bug
Something isn't working
email notifications
log management
Items related to the custom objects & Logger Console app
From Messaging.reserveSingleEmailCapacity docs:
If the transaction would cause the organization to exceed its daily email limit, using this method results in the following error: System.HandledException: The daily limit for the org would be exceeded by this request.
We recently had an incident where we hit org limits for Events. After that, we reached email limits. Adding a catch for System.HandledException would prevent Logger.saveLog() from halting execution when limits are reached.
NebulaLogger/nebula-logger/core/main/log-management/classes/LoggerEmailSender.cls
Lines 29 to 43 in a08e1d6
The text was updated successfully, but these errors were encountered: