Shopify / dashing

The exceptionally handsome dashboard framework in Ruby and Coffeescript.
http://shopify.github.com/dashing/
MIT License
10.97k stars 1.18k forks source link

Scheduler, :handle_exception #740

Open lkitrossky opened 7 years ago

lkitrossky commented 7 years ago

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