IIIF / image-validator

Validator for the Image API
http://iiif.io/api/image/validator/
Apache License 2.0
35 stars 20 forks source link

Error message cleanup #64

Closed glenrobson closed 6 years ago

glenrobson commented 6 years ago

Fixes: https://github.com/IIIF/image-validator/issues/63

Currently AWS sends a email of there are a high percentage of non 200 requests. This means I get notified regularly when bots try and crawl the sites for files that don't exist. The image validator currently returns 500 if it receives a POST for a page that doesn't exist. This pull request does the following:

This should mean notifications are only sent if there is a genuine problem with the service.

coveralls commented 6 years ago

Coverage Status

Coverage decreased (-0.05%) to 33.424% when pulling 2662e3c695d7d744899d6dd4bc6a9d908ff18570 on error_message_cleanup into 97625e17ffecdac8e2338773ebfbf3399c625170 on master.