Error Handling

Component ID

2553945

Component name

Error Handling

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

The website encountered an unexpected error. Please try again later

This is the error irritates me so many times and couldn't identify what is the actual error. I couldn't see any thing in apache error logs regarding this error. Even if I enabled to display all errors on screen, no luck. Some times we could see only blank screen and nothing display on screen and no errors in apache error log.

These things forced me to write this module which will help developer and other team members to be notified when any error occurred in drupal via email. Whom need to be alerted when error occurred will be configurable settings form and site admin will add the list of emails in the settings form, so that only those people will be notified upon error.

These things can be done easily in most of the MVC frameworks where all the code is in object oriented and running with front controller design pattern.

I have done this in Zend and Symfony Projects earlier, Now I am pleased to implement the same for Drupal.