Add more detail in exception handler.