added catch for 404 on POST
Merge pull request #6 from lob/fix-uncaught-error

added catch for 404 on POST