govuk_app_config 2.0.3 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/docs/healthchecks.md +1 -1
- data/lib/govuk_app_config/configure.rb +4 -7
- data/lib/govuk_app_config/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 11deec0d472bf1602ab757e77ec8d84ac51b6c5ea656b0f5ee566a2c30e53001
|
|
4
|
+
data.tar.gz: 3c8b333046cc448c7100392138fcb1804b84f3b0f02d319e4dc5274266db5a92
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e66e03d60d51b38fe1d0c9205ce6b2d063d492241274a41856bd540f1dbf61aebc42bc99aa2b95968241419f48fe607de0e88d091513c0009869a1705559d245
|
|
7
|
+
data.tar.gz: dcb5537f539f72f8495da6c7269ef5d45c4b696221fb3302aff5f8ba02600b26e5a2a8cd81025ea3ca607524762bb28217b64a6bc3e1181f349a251a0039be58
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
# 2.1.0
|
|
2
|
+
|
|
3
|
+
* Stop exceptions rescued by rails from appearing in Sentry (https://github.com/alphagov/govuk_app_config/pull/138)
|
|
4
|
+
|
|
1
5
|
# 2.0.3
|
|
2
6
|
|
|
3
7
|
* Add hmrc-uk.digital.nuance.com (Nuance/HMRC Webchat provider) and gov.klick2contact.com (HMPO web chat provider) to connect-src CSP list (https://github.com/alphagov/govuk_app_config/pull/133)
|
data/docs/healthchecks.md
CHANGED
|
@@ -8,16 +8,9 @@ GovukError.configure do |config|
|
|
|
8
8
|
config.silence_ready = !Rails.env.production? if defined?(Rails)
|
|
9
9
|
|
|
10
10
|
config.excluded_exceptions = [
|
|
11
|
-
'AbstractController::ActionNotFound',
|
|
12
|
-
'ActionController::BadRequest',
|
|
13
|
-
'ActionController::InvalidAuthenticityToken',
|
|
14
|
-
'ActionController::ParameterMissing',
|
|
15
|
-
'ActionController::RoutingError',
|
|
16
11
|
'ActionController::UnknownAction',
|
|
17
|
-
'ActionController::UnknownHttpMethod',
|
|
18
12
|
'ActionDispatch::RemoteIp::IpSpoofAttackError',
|
|
19
13
|
'ActiveJob::DeserializationError',
|
|
20
|
-
'ActiveRecord::RecordNotFound',
|
|
21
14
|
'CGI::Session::CookieStore::TamperedWithCookie',
|
|
22
15
|
'GdsApi::HTTPIntermittentServerError',
|
|
23
16
|
'GdsApi::TimedOutException',
|
|
@@ -33,4 +26,8 @@ GovukError.configure do |config|
|
|
|
33
26
|
config.transport_failure_callback = Proc.new {
|
|
34
27
|
GovukStatsd.increment("error_reports_failed")
|
|
35
28
|
}
|
|
29
|
+
|
|
30
|
+
# This stops exceptions rescued by rails from appearing in Sentry.
|
|
31
|
+
# See https://www.rubydoc.info/gems/sentry-raven/1.2.2/Raven%2FConfiguration:rails_report_rescued_exceptions
|
|
32
|
+
config.rails_report_rescued_exceptions = false
|
|
36
33
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: govuk_app_config
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0
|
|
4
|
+
version: 2.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- GOV.UK Dev
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-
|
|
11
|
+
date: 2020-03-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: logstasher
|