Class: Rufus::Scheduler::SchedulerCore
- Inherits:
-
Object
- Object
- Rufus::Scheduler::SchedulerCore
- Defined in:
- lib/bluth/worker.rb
Instance Method Summary collapse
-
#handle_exception(task, exception) ⇒ Object
See lib/rufus/sc/scheduler.rb.
Instance Method Details
#handle_exception(task, exception) ⇒ Object
See lib/rufus/sc/scheduler.rb
8 9 10 11 12 13 14 15 16 17 |
# File 'lib/bluth/worker.rb', line 8 def handle_exception(task, exception) case exception when SystemExit exit else Familia.info exception. Familia.info exception.backtrace task.unschedule end end |