fixing typo in raising exception
Merge pull request #2236 from alphagov/fixing_typo

fixing typo in raising exception