add custom tail for 500 exceptions