Email on error

View: New views
2 Messages — Rating Filter:   Alert me  

Email on error

by Steven Surowiec :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I've looked around drupal.org and couldn't find any modules that do what
I'm looking for so I just figured I'd ask here before just writing my
own. But I'm looking for a module that will allow me to have Drupal send
me an email any time an error occurs and also has the ability to let me
trigger my own errors (I know I could use trigger_error() but often
times for these custom errors I want to be notified but don't want the
error showing up on screen). I know I can do this relatively easily but
was trying to see if something was already written that allows for this
before committing myself to it.

Re: Email on error

by Khalid Baheyeldin-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Mon, Jun 15, 2009 at 9:15 AM, Steven Surowiec <steven@...> wrote:
I've looked around drupal.org and couldn't find any modules that do what I'm looking for so I just figured I'd ask here before just writing my own. But I'm looking for a module that will allow me to have Drupal send me an email any time an error occurs and also has the ability to let me trigger my own errors (I know I could use trigger_error() but often times for these custom errors I want to be notified but don't want the error showing up on screen). I know I can do this relatively easily but was trying to see if something was already written that allows for this before committing myself to it.

The logging and alerts module has the email log module which does that.

http://drupal.org/project/logging_alerts

Be careful though: that can be a LOT OF EMAILS if you are getting a lot of watchdog messages, so be selective on what levels of error to include.
--
Khalid M. Baheyeldin
2bits.com, Inc.
http://2bits.com
Drupal optimization, development, customization and consulting.
Simplicity is prerequisite for reliability. --  Edsger W.Dijkstra
Simplicity is the ultimate sophistication. --   Leonardo da Vinci