Don't report some expected exceptions using Logger#exception.