update exception formatting