Module: Bones::RPC::Failover::Ignore
Overview
Ignore is for the case when we get exceptions we deem are proper user or datbase errors and should be re-raised.
Instance Method Summary collapse
-
#execute(exception, node) ⇒ Object
Executes the failover strategy.
Instance Method Details
#execute(exception, node) ⇒ Object
Executes the failover strategy. In the case of ignore, we just re-raise the exception that was thrown previously.
25 26 27 |
# File 'lib/bones/rpc/failover/ignore.rb', line 25 def execute(exception, node) raise(exception) end |