Shopify/dashing

Scheduler, :handle_exception

lkitrossky opened this issue · 0 comments

Hi! Scheduler tried to use :handle_exception and checks if there is one. My question is how to send my function to Scheduler for this purpose? It could be some parameters in constructor, but I cannot figure out how to add it. Because jobs of Dashing have it already defined.
See rufus\sc\scheduler.rb
`

  def do_handle_exception(job, exception)

   begin

    [ :log_exception, :handle_exception, :on_exception ].each do |m|

`

Thanks, Levi