Slightly better exception.

It was annoying enough that I fixed this, so it's worth a merge :)
Merge pull request #246 from alphagov/slightly-better-exception

Slightly better exception.