I want to add the ability in my application which is using Spring framework that whenever an error 500 occurs in any place I handle it using filter or wrapper. Maybe it could send an email with a full stack trace of this exception, any ideas?
Share
Yes,
take a look at the uncaughtExceptionHandler
UncaughtExceptionHandler