Skip to content

Instantly share code, notes, and snippets.

@iamer

iamer/gist:f963baaad98e9be8ae0d Secret

Created Jun 16, 2013
Embed
What would you like to do?
** worker#step intercepted exception **
Please report issue or fix your Ruote::FsStorage impl,
or override Ruote::Worker#handle_step_error(e, msg) so that
the issue is dealt with appropriately. For example:
class Ruote::Worker
def handle_step_error(e, msg)
logger.error('ruote step error: ' + e.inspect)
mailer.send_error('admin@acme.com', e)
end
end
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
error class/message/backtrace:
NoMethodError
"undefined method `<=>' for nil:NilClass"
/usr/lib/boss-bundle/vendor/cache/ruote-7afe764fc7e2/lib/ruote/storage/base.rb:107:in `sort_by'
/usr/lib/boss-bundle/vendor/cache/ruote-7afe764fc7e2/lib/ruote/storage/base.rb:107:in `get_msgs'
/usr/lib/boss-bundle/vendor/cache/ruote-7afe764fc7e2/lib/ruote/worker.rb:189:in `process_msgs'
/usr/lib/boss-bundle/vendor/cache/ruote-7afe764fc7e2/lib/ruote/worker.rb:243:in `step'
/usr/lib/boss-bundle/vendor/cache/ruote-7afe764fc7e2/lib/ruote/worker.rb:94:in `run'
/usr/lib/boss-bundle/vendor/cache/ruote-7afe764fc7e2/lib/ruote/worker.rb:105:in `run_in_thread'
/usr/lib/boss-bundle/vendor/cache/ruote-7afe764fc7e2/lib/ruote/worker.rb:105:in `initialize'
/usr/lib/boss-bundle/vendor/cache/ruote-7afe764fc7e2/lib/ruote/worker.rb:105:in `new'
/usr/lib/boss-bundle/vendor/cache/ruote-7afe764fc7e2/lib/ruote/worker.rb:105:in `run_in_thread'
/usr/lib/boss-bundle/vendor/cache/ruote-7afe764fc7e2/lib/ruote/dashboard.rb:87:in `initialize'
/usr/lib/boss-bundle/vendor/cache/ruote-7afe764fc7e2/lib/ruote/dashboard.rb:87:in `each'
/usr/lib/boss-bundle/vendor/cache/ruote-7afe764fc7e2/lib/ruote/dashboard.rb:87:in `initialize'
./boss:57:in `new'
./boss:57
msg:
nil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.