Debug information on unexpected exceptions