Reinstate error message.
Merge pull request #294 from simartin/typo_520aaf71

Reinstate error message.