govuk_app_config 2.0.3 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 832d6ea72e7f391510a2fab49870ffd35a1178fba7f2647fee90532e8b157001
4
- data.tar.gz: 85f60eda57af5b21ba06961defd6b563041cd932fe319a55d8d915862e1aa2ae
3
+ metadata.gz: 11deec0d472bf1602ab757e77ec8d84ac51b6c5ea656b0f5ee566a2c30e53001
4
+ data.tar.gz: 3c8b333046cc448c7100392138fcb1804b84f3b0f02d319e4dc5274266db5a92
5
5
  SHA512:
6
- metadata.gz: e409aeb8a6a21b56c0945d25f40678d5115f13b049296e32f876a1073242f17a2d2db3a484140eeeb2c71a6ae3f25350fef3badbea28daabc58ea93cbf7d215e
7
- data.tar.gz: 3745c70fe767196d1f90cfec77af282927ffbc6c7b38001e433ed60a485637b27d1175be217cdd16286b1dfd86fe3d68ad9b5ca6a6120aef359873e56d4cc18e
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
@@ -22,7 +22,7 @@ class CustomCheck
22
22
 
23
23
  # Optional
24
24
  def message
25
- "This is an optional custom message"
25
+ "This is an optional custom message that will show up in the alert in Icinga"
26
26
  end
27
27
 
28
28
  # Optional
@@ -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
@@ -1,3 +1,3 @@
1
1
  module GovukAppConfig
2
- VERSION = "2.0.3"
2
+ VERSION = "2.1.0"
3
3
  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.3
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-02-06 00:00:00.000000000 Z
11
+ date: 2020-03-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: logstasher