Catch the correct type of translation error

Would it be better to only have the "else" case and let the caught case fall to the normal call to `translate_inputs` below the exception handling?