From 227ea783d3598c2bd974cdaf4aac8c255870e264 Mon Sep 17 00:00:00 2001 From: Saku Ytti Date: Mon, 10 Feb 2014 12:26:59 +0200 Subject: Handle exceptions with different log levels --- lib/oxidized/input/telnet.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/oxidized/input/telnet.rb') diff --git a/lib/oxidized/input/telnet.rb b/lib/oxidized/input/telnet.rb index 0ae6877..31ed8d0 100644 --- a/lib/oxidized/input/telnet.rb +++ b/lib/oxidized/input/telnet.rb @@ -2,8 +2,8 @@ module Oxidized require 'net/telnet' require 'oxidized/input/cli' class Telnet < Input - RescueFail = [] - include CLI + RescueFail = {} + include CLI attr_reader :telnet def connect node -- cgit v1.2.1