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

alphagov / performanceplatform-admin
94%
master: 93%

Build:
Build:
LAST BUILD BRANCH: paas-migration
DEFAULT BRANCH: master
Repo Added 21 Jul 2014 12:41PM UTC
Files 33
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 handle-failures-upload-data
branch: handle-failures-upload-data
CHANGE BRANCH
x
Reset
  • handle-failures-upload-data
  • 73958164-flag-dashboard-admin
  • 73958524-create-dashboard-form
  • 73958524-create-module-form
  • 76808354-bugfix-parsing-spreadsheets
  • add-cache-control-no-cache
  • add-coverage
  • add-coveralls-badge
  • add-dashboard-title-to-form
  • add-development-signin
  • add-digital-takeup-module
  • add-drone-ci
  • add-link-to-dashboard
  • add-logging
  • add-missing-ses-credentials
  • add-quality
  • add-save-and-continue-button
  • add-sentry-tracking
  • add-start-app
  • add-user-satisfaction
  • allow-local-development-config
  • alphabetize-clone-modules-list
  • alphabetize-things
  • apply-dashboard
  • apply-for-a-dashboard
  • apply-for-a-dashboard2
  • assign-owning-organisation-to-dashboard
  • builder-cpt
  • builder-hub-page
  • bump-client
  • catch-expired-token-403
  • change-redis-prefix
  • clone-a-dashboard
  • clone-dashboard
  • clone-module
  • clone-module-final
  • consolidate-permissions
  • container-builds-and-cache
  • copy-and-guidance-changes
  • create-user-sat-data-set
  • dashboard-editing
  • dashboard-sections
  • dashboard-unpublish
  • desc-field-type
  • digital-take-up-download
  • error-formats
  • extend-org-list
  • feature/autopep8
  • feature/builder-cost-per-tx
  • feature/bump-client-version
  • feature/delete-dashboard
  • feature/fix-preview-deploys
  • feature/handle-signon-reauth
  • feature/new-dashboard-controller
  • feature/upgrade-requests
  • feature/upload-data-from-file
  • feautre/signon-client-id
  • fetch-environment-from-config
  • fix-clone-dashboard
  • fix-cpt-query-param
  • fix-cpt-template-data
  • fix-dashboards-with-no-org
  • fix-expired-token-error
  • fix-expired-token-problem
  • fix-hub-page
  • fix-js
  • fix-lik
  • fix-redirect-on-update
  • fix-sign-out
  • fix-unpublishing-of-dashboards
  • fix/cpt-module-config
  • fix/dataset-auto-ids
  • fix/json_errors
  • format-upload-data-timestamps-to-utc
  • govuk-dev-vm
  • group-by-group
  • handle-no-signin-permission
  • improve-docs
  • improve-start-app-script
  • improve-status-endpoint
  • instant-preview
  • list-dashboards-standalone
  • list-data-sets
  • list-my-datasets
  • master
  • module-type-templates
  • move_title_to_top
  • new-move-and-remove
  • nice-page-when-no-signin-permission
  • no-httmock
  • old-template-fixes
  • paas-migration
  • prefill-visualisation
  • pretty-print-json
  • publish-dashboard
  • query-params-fix
  • re-restructure-admin-app
  • reauth_wip
  • record-notes-on-dashboard
  • recover-missing-tests
  • redis-on-travis
  • remove-dataset-permission
  • remove-duplicate-import
  • remove-group-from-list
  • remove-module
  • remove-redis
  • remove-redis-session
  • remove-upload-logged-out
  • reorder-modules
  • reorder-modules-clean
  • replicate-db-server-name
  • restructure-app
  • revert-admin-dataset-dropdown
  • revert-revert-select-groups-and-types
  • revert-select-groups-and-types
  • rewrite-signed-in-decorator
  • sass_that_works
  • select-group-and-types
  • select-groups-and-types
  • send-correct-published-state
  • send-dashboard-for-review
  • sort-requirements
  • spreadsheets
  • standardised-error-messages-from-backdrop
  • stop-retrying-requests
  • template-fixes
  • template-improvements
  • template-words-and-urls
  • templates
  • temporary-single-cost-per-transaction-schema-fix
  • tidy-dashboard-editing
  • transform-dotfile
  • tweak-copy-and-guidance
  • typo-error-message
  • ui-improvements
  • update-backdrop-url
  • update-log-file-location
  • upload-a-spreadsheet
  • upload-spreadsheets
  • upload-status
  • upload-wip
  • use-real-env
  • use-resource-view

pending completion
1023

push

travis-ci

leenagupte
Display error page if datasets list fail to load.

When trying to access the upload data page in the self serve app,
if an http error is returned from stagecraft, then this exception
is just thrown back to the user, e.g. a 500 Internal Server Error
is returned and not a nice validation message.

The only exception to this are 401s. They redirect the user to a
sign out page.

Changed this behaviour to display an error page if any http error
except a 401 is returned from stagecraft.

This uses Flask's errorhandler as suggested by Tim. Handling more
errors in this way is desirable, but a refactor is beyond the scope
of this story.

1368 of 1458 relevant lines covered (93.83%)

0.94 hits per line

Relevant lines Covered
Build:
Build:
1458 RELEVANT LINES 1368 COVERED LINES
0.94 HITS PER LINE
Source Files on handle-failures-upload-data
Detailed source file information is not available for this build.

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
1023 handle-failures-upload-data Display error page if datasets list fail to load. When trying to access the upload data page in the self serve app, if an http error is returned from stagecraft, then this exception is just thrown back to the user, e.g. a 500 Internal Server Erro... push 15 Jul 2015 03:33PM UTC leenagupte travis-ci pending completion  
1020 handle-failures-upload-data Display error page if datasets list fail to load. When trying to access the upload data page in the self serve app, if an http error is returned from stagecraft, then this exception is just thrown back to the user, e.g. a 500 Internal Server Erro... push 15 Jul 2015 11:23AM UTC leenagupte travis-ci pending completion  
1016 handle-failures-upload-data Display error page if datasets list fail to load. When trying to access the upload data page in the self serve app, if an http error is returned from stagecraft, then this exception is just thrown back to the user, e.g. a 500 Internal Server Erro... push 14 Jul 2015 02:23PM UTC leenagupte travis-ci pending completion  
See All Builds (771)
  • 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

© 2026 Coveralls, Inc