Remove unnecessary raise statement