You're right.  I should just catch ValueError.