Module: Euston::Daemons::Exceptions

Included in:
Euston::DaemonComponent, Euston::DaemonComponentHost
Defined in:
lib/euston-daemons/euston/exceptions.rb

Instance Method Summary collapse

Instance Method Details

#ignorable_exception?(exception) ⇒ Boolean

Returns:

  • (Boolean)


4
5
6
# File 'lib/euston-daemons/euston/exceptions.rb', line 4

def ignorable_exception? exception
  exception.to_s =~ /clean channel shutdown|clean connection shutdown/
end