wolf_core 1.1.6 → 1.1.7
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/lib/wolf_core/application/application_service.rb +0 -6
- data/lib/wolf_core/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: 8bb27b3865d67ca728059a36326454b9d85a4d789650917b1f5ae21841ece5df
|
4
|
+
data.tar.gz: a159e3533c003566d51cbc21808a1ef75a6ae18103812522e21e499f9b346364
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c743421274e60a6873e0344489786095c40192b58c2eb89d077b1ec7d414b900afc5c519a61efc899f0b32a51c5430b787d40f3424a0a2bc1a460e501b076273
|
7
|
+
data.tar.gz: 682da307f7b87b7329512dc79400c34a0893dc9b0b128a2ceb57e50078e3fcbab15bbad6632c10400304857cf96ec25e87cdb06aec1dc1304ab078aa421e6876
|
@@ -11,18 +11,12 @@ module WolfCore
|
|
11
11
|
on_timeout(e) if is_timeout_error?(e) && respond_to?(:on_timeout)
|
12
12
|
|
13
13
|
common_data = { backtrace: e.backtrace }
|
14
|
-
log_object common_data, title: 'common_data 1 is'
|
15
|
-
log_object "respond_to?(:build_result_data, true) = #{respond_to?(:build_result_data, true)}"
|
16
|
-
log_object build_result_data, title: 'build_result_data is'
|
17
14
|
common_data.merge!(build_result_data) if respond_to?(:build_result_data, true)
|
18
|
-
log_object common_data, title: 'common_data 2 is'
|
19
|
-
log_object "e.instance_of?(WolfCore::ServiceException) = #{e.instance_of?(WolfCore::ServiceException)}"
|
20
15
|
if e.instance_of?(WolfCore::ServiceException)
|
21
16
|
return Result.failure(
|
22
17
|
error: e.error.to_h.merge(common_data)
|
23
18
|
)
|
24
19
|
end
|
25
|
-
log_object ({ message: e.message }.merge(common_data)), title: 'Error data is'
|
26
20
|
|
27
21
|
Honeybadger.notify(e, sync: true)
|
28
22
|
Result.failure(error: { message: e.message }.merge(common_data))
|
data/lib/wolf_core/version.rb
CHANGED