Catch the correct type of translation error

yes, I think this would be good. There really isn't much unit test coverage around these modules...