simple_job 0.6.1 → 0.6.2
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.rdoc +3 -0
- data/lib/simple_job/sqs_job_queue.rb +7 -2
- data/lib/simple_job/version.rb +1 -1
- metadata +3 -3
data/CHANGELOG.rdoc
CHANGED
@@ -175,8 +175,13 @@ class SQSJobQueue < JobQueue
|
|
175
175
|
Process.detach pid
|
176
176
|
else
|
177
177
|
# in child
|
178
|
-
|
179
|
-
|
178
|
+
begin
|
179
|
+
message_handler.call(last_definition, last_message)
|
180
|
+
log_execution(true, last_message, current_job_type, current_start_milliseconds)
|
181
|
+
rescue Exception => e
|
182
|
+
logger.error("error executing asynchronous job: #{e.message}")
|
183
|
+
logger.error e.backtrace.join("\n ")
|
184
|
+
end
|
180
185
|
exit
|
181
186
|
end
|
182
187
|
else
|
data/lib/simple_job/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simple_job
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 3
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 6
|
9
|
-
-
|
10
|
-
version: 0.6.
|
9
|
+
- 2
|
10
|
+
version: 0.6.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- David Dawson
|