remove duplicate line (and keep the one that catches exceptions)