From: William Morgan Date: Sat, 22 Aug 2009 14:24:11 +0000 (-0400) Subject: minor logging output tweak X-Git-Url: https://git.cworth.org/git?p=sup;a=commitdiff_plain;h=90672a4892dd253786d95dda53de628429a958ec minor logging output tweak --- 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