mn_utils_gem 1.8.0 → 1.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mn_utils_gem/site_action.rb +1 -1
- data/lib/mn_utils_gem/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ff9559b71c211fca5e4e77ffd822962f3b0116769b28fa733ad773379ccd8cb4
|
4
|
+
data.tar.gz: 320245dda3483b9eda05b20c01a40ee1ff6f4e7f4f51e06ca9bac6a6a3d83828
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a1bd7857d15d245f8e02b4c3ebb42ae21a08d9c9db868313c0bb83b8ca0845b1fee7ca53efbae7b010061bc37bbb9151cc6d108fbe1392f0450181f6ac3b5ffc
|
7
|
+
data.tar.gz: 393968a8b0e8ab19fb3376fd9414d710d201bf219d462b4db633a4ef06a040e962f07df8845d984b0dcbf45a193e54b15204b5a5b524fc8337c857156366a32f
|
@@ -170,7 +170,7 @@ module MnUtilsLogging
|
|
170
170
|
# add other data to the payload if available
|
171
171
|
full_payload[:_srv_code] = ENV['SRV_CODE'] if ENV.key? 'SRV_CODE'
|
172
172
|
full_payload[:_site_hostname] = ENV['SITE_HOSTNAME'] if ENV.key? 'SITE_HOSTNAME'
|
173
|
-
full_payload[:_request_id]
|
173
|
+
full_payload[:_request_id] ||= RequestStore.store[:request_id] if RequestStore.store[:request_id]
|
174
174
|
full_payload[:_remote_ip] = RequestStore.store[:remote_ip] if RequestStore.store[:remote_ip]
|
175
175
|
|
176
176
|
# send it off
|
data/lib/mn_utils_gem/version.rb
CHANGED