[英]Ruby on Rails sidekiq with airbrake setup
What are correct steps to setup sidekiq to work with airbrake on ruby on rails application. 正确的步骤是,将sidekiq设置为在滑轨上的红宝石上与空气制动一起使用。
already did: 已经做了:
Sidekiq.configure_server do |config| Sidekiq.configure_server做| config | config.error_handlers << Proc.new { |ex,ctx_hash| config.error_handlers << Proc.new {| ex,ctx_hash | Airbrake.notify_or_ignore(ex, ctx_hash) } end Airbrake.notify_or_ignore(ex,ctx_hash)}结束
What are the next steps to make it work? 使其工作的下一步是什么?
需要'airbrake / sidekiq / error_handler'
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.