govuk_app_config 4.10.0 → 4.10.1
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 49d2ba8d4a28f3bcbe72bebb31f5516123964e8142dcf93a08c69f7efecc8d30
|
|
4
|
+
data.tar.gz: 061e91536be46ef802a5c6379dfa5a465e04cdb7657faa18371cecd439484a24
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
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.
|
|
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-
|
|
11
|
+
date: 2022-10-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: logstasher
|