Class: DevCycle::FlushTimerTaskObserver

Inherits:
Object
  • Object
show all
Defined in:
lib/devcycle-ruby-server-sdk/localbucketing/event_queue.rb

Overview

Todo: remove when done testing

Instance Method Summary collapse

Instance Method Details

#update(time, result, ex) ⇒ Object



110
111
112
113
114
115
116
117
118
# File 'lib/devcycle-ruby-server-sdk/localbucketing/event_queue.rb', line 110

def update(time, result, ex)
  return if ex.nil?

  if ex.is_a?(Concurrent::TimeoutError)
    print("DVC FlushTimerTaskObserver: Execution timed out")
  else
    print("DVC FlushTimerTaskObserver: Execution failed with error: #{ex}")
  end
end