Output previous exception message in generic error handler