change 404 error handling when post is not found.
Merge pull request #42 from Grimbox/errorHandling

change 404 error handling when post is not found.