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
Philip Meldrum08237737677563425Philip Meldrum08237737677563425 

​I'm not getting any error emails.

I've setup a page that generates a run-time error, displaying this error message:

Divide by 0
Error is in expression '{!mTestError}' in component <apex:commandButton> in page testpdf2: Class.testPdf.mTestError: line 122, column 1
An unexpected error has occurred. Your development organization has been notified. 

It says 'Your development organization has been notified' but I'm not getting the email.
Which user gets the email?

In the past, I've noticed that if you repeatedly trigger the error, you occasionaly get an email.
Can anyone help as we are trying to firm up our error handling policy.

Manga LakshmiManga Lakshmi
Check in your set up  settings  , Email Administration->Deliverability-> Access Level is pointing to All Email or not. If not, make it to that.
Emails will goes to the user whoever is the last modified user for that class.
Philip Meldrum08237737677563425Philip Meldrum08237737677563425
Thanks Manga
Those settings are correct, and the last modified user is setup with the correct email, but no emails are received:(