Log more details about exception.