Skip to content

Commit

Permalink
Made sure that recover() gets passed the message in.
Browse files Browse the repository at this point in the history
  • Loading branch information
dbalatero committed Jun 10, 2009
1 parent e8bd107 commit 60c56aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/queue_stick/worker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def run_loop
error = WorkerError.new(message)
error.exceptions << process_error
begin
recover
recover(message.body)
rescue Exception => recover_error
error.exceptions << recover_error
end
Expand Down

0 comments on commit 60c56aa

Please sign in to comment.