simpler_workflow 0.1.9 → 0.1.10
Sign up to get free protection for your applications and to get access to all the features.
@@ -52,7 +52,8 @@ module SimplerWorkflow
|
|
52
52
|
logger.info("Performing task #{name}")
|
53
53
|
@perform_task.call(task)
|
54
54
|
rescue => e
|
55
|
-
context =
|
55
|
+
context = {}
|
56
|
+
context[:activity_type] = [name.to_s, version]
|
56
57
|
context[:input] = task.input
|
57
58
|
context[:activity_id] = task.activity_id
|
58
59
|
SimplerWorkflow.exception_reporter.report(e, context)
|
@@ -82,7 +83,8 @@ module SimplerWorkflow
|
|
82
83
|
end
|
83
84
|
rescue Timeout::Error => e
|
84
85
|
rescue => e
|
85
|
-
context =
|
86
|
+
context = {}
|
87
|
+
context[:activity_type] = [name.to_s, version]
|
86
88
|
context[:input] = task.input
|
87
89
|
context[:activity_id] = task.activity_id
|
88
90
|
SimplerWorkflow.exception_reporter.report(e, context)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simpler_workflow
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.10
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-10-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: aws-sdk
|