Log the entire exception.