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

mysociety / yournextrepresentative
58%
master: 51%

Build:
Build:
LAST BUILD BRANCH: liable-to-vandalism-in-db
DEFAULT BRANCH: master
Repo Added 29 Nov 2014 06:21PM UTC
Files 18
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

LAST BUILD ON BRANCH popit-down-middleware
branch: popit-down-middleware
CHANGE BRANCH
x
Reset
  • popit-down-middleware
  • 104-persuasive-homepage
  • 123-footer
  • 124-candidate-parties
  • 130-candidate-editing
  • 143-add-parlparse-id-to-2010-mps
  • 146-profile-pages
  • 171-disclaimers
  • 183-login-page-improvements
  • 187-og-and-twitter-tags
  • 203-disable-submit-on-click
  • 246-allow-birth-year-or-dob
  • 271-store-twitter-ids
  • 319-add-vagrant-file
  • 379-add-more-tests
  • 383-generic-og-metadata
  • 416-update-csv-links
  • 53-favicon
  • 676-language-switcher
  • 692-winner-display
  • 749-other-names
  • 79-design-improvements
  • 855-prefill-party-dropdown-new-list-candidate
  • 856-show-elections-won-on-candidate-page
  • 862-search-with-apostrophe
  • 866-party-list-pos-person-view
  • 873-broken-jsonpatch-parsing
  • 896-log-photo-reject-reason
  • 931-uk-import-2010-winners
  • 935-confirm-inset-winners
  • 942-optional-election-areatype-admin
  • 943-settings-in-db
  • 951-candidates-dc-vs-who-in-seo
  • TUSC_emblem
  • add-attention-needed-page
  • add-cache-control
  • add-candidacy-historic-elections-option
  • add-candidate-pictures
  • add-coveralls
  • add-descriptions-and-joint-parties
  • add-honorifics
  • add-leaderboard
  • add-new-parlparse-ids
  • add-parlparse-to-csv
  • add-recent-changes
  • add-to-vandalism-list
  • add-winner-counts-to-api
  • allow-creation-from-manual-area-ids
  • allow-twitter-at
  • are-we-generic-yet
  • backports-including-needs-review
  • before-image-proxy
  • cache-popit-results
  • calls-to-action
  • candidates_ignored_slugs
  • changes-for-tls
  • changes_feed
  • close-signups
  • contesting
  • copyright-assignment-agreement
  • crontab-election-night-updates
  • csv-generation-improvements
  • d3-user-contributions-graph
  • data-cleaning
  • dc_logo
  • display-more-helpful-constituency-values
  • django-1.7
  • django-1.7-second-attempt
  • django-1.7-travis-no-migrate
  • djdt-to-try-on-staging
  • elected-button-party-list
  • feature/candidates-counts
  • feature/candidates-counts-small-change
  • feature/csv_export
  • feeds_unicode
  • fewer-consituencies-queries
  • field_drives
  • finer-grained-permissions
  • fix-add-candidate-button
  • fix-cached-counts-update
  • fix-fix-data-commands
  • fix-image-metadata
  • fix-membership-issues
  • fix-party-numbers-page-counts
  • fix-party-sets-javascript
  • fix-settings-validation
  • fix-stale-memberships-after-merging
  • fix-standalone-create-person-form
  • fix-tests
  • fix-twitter-case-issue
  • fix-update-from-ec-unicode-errors
  • flash-photo-review-action-results
  • further-genericization
  • generic-elections
  • group-elections
  • homepage-form-margin
  • image-queue
  • image-queue-upload
  • improve-finder-validation
  • improve-mirroring
  • incomplete_field_lists
  • issues/380-electionmixin
  • issues/395-argentina-design
  • issues/395-homepage-styling
  • issues/395-styling-fixes
  • javascript-add-candidacy
  • ke-2017
  • ke-frontpage-tests
  • ke-mzalendo-link
  • ke-search-label-change
  • liable-to-vandalism-in-db
  • linkedin-in-csv
  • linkify-photo-review-sources
  • lock-constituencies
  • make-primary-photo-review-option
  • mark-incumbents-as-standing
  • master
  • merge-people
  • no-error-emails-on-popit-404
  • no-exact-md5sum-test
  • noddy-posts-cache
  • not-all-constituencies
  • notification-of-photos-for-review
  • numbers_json
  • only-install-django-once
  • party-page
  • party-page-responsive
  • party_id_in_csv
  • photo-review-improvements
  • photo_upload_help
  • possibly-simplify-numbers
  • ppc-importer-updates
  • privacy-policy
  • progressive-add-candidacy-basic
  • refactor-person-handling-squashed
  • remove-bad-twitter-data
  • remove_ff_banner
  • replace-constituency-name-aargh
  • reproduce-popit-pagination-error
  • restrict-renaming
  • result-recorders
  • results-feed-updates
  • run-on-heroku
  • search_links
  • small-wording-updates
  • staging-with-robots-txt
  • stale-popit-workaround
  • stronger-source-hints
  • suggest-face-crop-in-review
  • switch-ga-to-secondary-domain
  • switch-to-image-proxy-thumbnails
  • switch-to-libsass-and-upgrade-pipeline
  • switch-to-photo-upload-radio-buttons
  • test-fix
  • trans-lang-select
  • translatable
  • turn-off-edits-stupidly
  • twitter_list
  • update-about-page
  • update-about-page-post-copyright-assignment
  • update-db-settings
  • update-face-detection-use-of-pillow
  • update-parties
  • update-party-update
  • wip-add-descriptions

pending completion
408

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 Nagios, 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

Relevant lines Covered
Build:
Build:
2508 RELEVANT LINES 1456 COVERED LINES
0.58 HITS PER LINE
Source Files on popit-down-middleware
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
408 popit-down-middleware 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 ConnectionErro... push 07 Feb 2015 12:53PM UTC mhl travis-ci pending completion  
405 popit-down-middleware 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 ConnectionErro... push 07 Feb 2015 12:13PM UTC mhl travis-ci pending completion  
404 popit-down-middleware 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 ConnectionErro... push 07 Feb 2015 12:12PM UTC mhl travis-ci pending completion  
See All Builds (1290)
  • Repo on GitHub
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

© 2025 Coveralls, Inc