Logging / Email error notification

I’d like to implement something in my application where the last n lines
the development log are included in an email when an error occurs.

Right now the application triggers an email using an application
method that has be inserted into a rescue block.

Maybe I should just use “File” to grab the tail end of the
file and insert it into the email?

But I’m wondering if maybe there is a better approach or if anyone has a
gem that does this automatically.

Greg A.
Insomnia Consulting, LLC
[email protected]
724 454 7790 (cell)

You could use exception_notification gem for this. Link here

On Tue, Jan 21, 2014 at 8:54 PM, Greg A. [email protected] wrote:

gem that does this automatically.
To unsubscribe from this group and stop receiving emails from it, send an
email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit


For more options, visit https://groups.google.com/groups/opt_out.