What was the reason for not just catching `ValueError`?