• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mysociety / yournextrepresentative / 405
58%
master: 51%

Build:
Build:
LAST BUILD BRANCH: liable-to-vandalism-in-db
DEFAULT BRANCH: master
Ran 07 Feb 2015 12:13PM UTC
Jobs 1
Files 60
Run time 5s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
405

push

travis-ci

mhl
Add middleware to handle errors better if PopIt is down

If PopIt is being restarted, then we currently get a flurry of error
emails and the users hitting the site then see an ugly Internal Server
Error page. This middleware catches ConnectionError (from requests)
and HttpServerError 503 (from slumber) and presents an error page in the
site's style saying the service is temporarily down.

PopIt and YourNextMP are being indepedently monitored by PopIt, so
hopefully this shouldn't affect our awareness of the site being down.

Fixes #126

1456 of 2508 relevant lines covered (58.05%)

0.58 hits per line

Jobs
ID Job ID Ran Files Coverage
1 405.1 07 Feb 2015 12:13PM UTC 0
58.05
Travis Job 405.1
Source Files on build 405
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #405
  • 8095067a on github
  • Prev Build on popit-down-middleware (#404)
  • Next Build on popit-down-middleware (#408)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc