You need to sign in to do that
Don't have an account?

Exception Emails
Hi there.
I am not getting the exception emails telling me where in the class the exception occurs. Debugging has become a nightmare!
Any ideas on how to solve it?
Thanks!
function readOnly(count){ }
You need to sign in to do that
Don't have an account?
Hi there.
I am not getting the exception emails telling me where in the class the exception occurs. Debugging has become a nightmare!
Any ideas on how to solve it?
Thanks!
I like to use a try / catch clause so that the error will get kicked to the system log as I test.
try { //Code here } catch(Exception e) { //catch any errors System.debug('Code is busted: ' + e.getMessage()); //write error to the debug log }
This eliminates the need to rely on those email notifications because the error is in the debug log in real-time.
-greg