Scheduler#notify returns null in case of error. It prints the error and returns null. It should at least raise the error...
|
def notify(executor, o) |
|
|
|
if executor |
|
@hooker.notify(executor, o) |
|
else |
|
@hooker.wlist.notify(nil, o) |
|
end |
|
|
|
rescue => err |
|
puts '-sch' * 19 |
|
puts "+ error in #{self.class}#notify" |
|
p err |
|
puts err.backtrace |
|
puts ('-sch' * 19) + ' .' |
|
end |
Scheduler#notify returns null in case of error. It prints the error and returns null. It should at least raise the error...
flor/lib/flor/unit/scheduler.rb
Lines 373 to 387 in 794b230