From 90672a4892dd253786d95dda53de628429a958ec Mon Sep 17 00:00:00 2001 From: William Morgan Date: Sat, 22 Aug 2009 10:24:11 -0400 Subject: [PATCH] minor logging output tweak --- lib/sup/util.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sup/util.rb b/lib/sup/util.rb index 3f6b840..9c1a84a 100644 --- a/lib/sup/util.rb +++ b/lib/sup/util.rb @@ -653,7 +653,7 @@ class Iconv begin Iconv.iconv(target + "//IGNORE", charset, text + " ").join[0 .. -2] rescue Errno::EINVAL, Iconv::InvalidEncoding, Iconv::InvalidCharacter, Iconv::IllegalSequence => e - info "couldn't transcode text from #{charset} to #{target} (\"#{text[0 ... 20]}\"...)" + warn "couldn't transcode text from #{charset} to #{target} (\"#{text[0 ... 20]}\"...) (got #{e.message}); using original as is" text end end -- 2.43.0