Skip to content
This repository has been archived by the owner on Jan 27, 2022. It is now read-only.

[pull] develop from alphagov:master #83

Open
wants to merge 13 commits into
base: develop
Choose a base branch
from
Open

Conversation

pull[bot]
Copy link

@pull pull bot commented Feb 26, 2021

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

@pull pull bot added ⤵️ pull merge-conflict Resolve conflicts manually labels Feb 26, 2021
ChrisBAshton and others added 9 commits March 1, 2021 08:18
In #283, we added code to capture `Addressable::URI::InvalidURIError`
exceptions and return 400 Bad Request responses. This was in order
to prevent logging this unactionable error in Sentry:
https://sentry.io/organizations/govuk/issues/2086648123/?project=202210&referrer=slack

The fix didn't work, because we capture the exception too late in
the logic, after `context.request.path` and `context.host.nil?`
have been called in `Bouncer::App.call`. By this point, the
exception has been raised already, before we have had a chance to
call `context.valid?`, so the Sentry errors have still been
happening.

We now check `context.valid?` as the very first thing before
digging into its internals.
…nfig-2.8.4

Bump govuk_app_config from 2.8.3 to 2.8.4
Return `Outcome::BadRequest` early if bad request
…-6.0.3.5

Bump activerecord from 6.0.3.2 to 6.0.3.5
…nfig-2.9.1

Bump govuk_app_config from 2.8.4 to 2.9.1
@thomasleese thomasleese deleted the master branch March 23, 2021 13:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
⤵️ pull merge-conflict Resolve conflicts manually
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants