Stop printing exceptions twice