summaryrefslogtreecommitdiff
path: root/lib/oxidized/input/input.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/oxidized/input/input.rb')
-rw-r--r--lib/oxidized/input/input.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/oxidized/input/input.rb b/lib/oxidized/input/input.rb
index e028ce4..d59c4f3 100644
--- a/lib/oxidized/input/input.rb
+++ b/lib/oxidized/input/input.rb
@@ -1,5 +1,12 @@
module Oxidized
class Input
+ RescueFail = [
+ Timeout::Error,
+ Errno::ECONNREFUSED,
+ Errno::ECONNRESET,
+ Errno::EHOSTUNREACH,
+ Errno::EPIPE,
+ ]
class << self
def inherited klass
Oxidized.mgr.loader = { :class => klass }