Inappropriate error message fix
Merge pull request #732 from michaltaberski/patch-1

Inappropriate error message fix