Fix typo in exception message
Merge pull request #1048 from MidnightDesign/patch-1

Fix typo in exception message