I\'d like my Grails web-app to send an e-mail for each exception that reaches the end-user.
Basically I\'m looking for a elegant way to achieve something equivalent to:<
Assuming you can do this from groovy, you'll want to use a logging framework such as log4j for this, which has loggers that can append log data to a database, send email, etc.