I have used exception notification gem to send exceptions to email, the email contains lots of data I want to minimize the data for e.g I don't want to send Environment details
------------------------------
Environment:
-------------------------------
Is there any way skip environment details on the exception mail?
You can customize the sections. Read the documentation on github. There they said we can customize.
Place your custom sections under ./app/views/exception_notifier/ with the suffix .text.erb, e.g.
./app/views/exception_notifier/_my_section1.text.erb
.