Fixed typo in the error generation
Merge pull request #307 from hajee/fix_false_404_error

Fixed typo in the error generation