govuk_app_config 4.10.0 → 4.10.1

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: 1f29dd29e2aa59d60c6c4139cd3194303a3e485fc81c3ff0cc4b541015ae2f6c
4
- data.tar.gz: 294a43ae30bca8b61a75de8a7e49d4b9162acf608b79431860765039d0ebeb82
3
+ metadata.gz: 49d2ba8d4a28f3bcbe72bebb31f5516123964e8142dcf93a08c69f7efecc8d30
4
+ data.tar.gz: 061e91536be46ef802a5c6379dfa5a465e04cdb7657faa18371cecd439484a24
5
5
  SHA512:
6
- metadata.gz: e3597f2f8cc645bf1888d14708918b5c9d87bb4d9f2fbade1393ad37880ab277dc0f94321e4da0b9c0fdf58dc841eff218c93a26abf53cf9b59d9028085416d9
7
- data.tar.gz: 66a1bb4da547d49e496caca8770c5aa9b93b8d965276fcb16943f5d4c796679a60b1f685e8ff3417eb2389de102429befc351d13fb4388c8f15aab2f8763f18e
6
+ metadata.gz: 4d526f99f686189933127e1e440f0153682a6147f6b21f1d44003fb1c7de129c151cffb6b8145ff3560af5963e80cae48d97c0b0d3c551b64948ea6eda0fc547
7
+ data.tar.gz: 5791cd78d85920e76bc58ae734ceadd50b636fccb2e16fb91952bd00e15ed45e3aaccc191e9947626721c43326c535b8f05655b3c2e20ddde2b3ebd992ef04f6
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 4.10.1
2
+
3
+ - Fix an object ownership/sharing bug where the Rails log level was erroneously being set to `WARN` when initialising Sentry.
4
+
1
5
  # 4.10.0
2
6
 
3
7
  - Reduce log level for the Sentry gem from `INFO` to `WARN` to avoid polluting logs with uninformative messages. This only affects log messages from the Sentry gem itself, which go to `stdout`.
@@ -74,6 +74,10 @@ module GovukError
74
74
  "GdsApi::ContentStore::ItemNotFound",
75
75
  ]
76
76
 
77
+ # Avoid "Sending envelope with items ... to Sentry" logspew, since we
78
+ # don't use Sentry's automatic session tracking.
79
+ self.auto_session_tracking = false
80
+
77
81
  @before_send_callbacks = [
78
82
  ignore_excluded_exceptions_in_data_sync,
79
83
  increment_govuk_statsd_counters,
@@ -40,8 +40,6 @@ module GovukError
40
40
 
41
41
  Sentry.init do |sentry_config|
42
42
  config = Configuration.new(sentry_config)
43
- # Avoid "Sending envelope with items ... to Sentry" logspew on stdout.
44
- config.logger.level = Sentry::Logger::WARN
45
43
  yield config if block_given?
46
44
  end
47
45
  end
@@ -1,3 +1,3 @@
1
1
  module GovukAppConfig
2
- VERSION = "4.10.0".freeze
2
+ VERSION = "4.10.1".freeze
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: 4.10.0
4
+ version: 4.10.1
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: 2022-10-21 00:00:00.000000000 Z
11
+ date: 2022-10-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: logstasher