lib/sup/mbox.rb in sup-0.1 vs lib/sup/mbox.rb in sup-0.2

- old
+ new

@@ -54,10 +54,10 @@ next unless Rfc2047.is_encoded? v header[k] = begin Rfc2047.decode_to $encoding, v rescue Errno::EINVAL, Iconv::InvalidEncoding, Iconv::IllegalSequence => e - Redwood::log "warning: error decoding RFC 2047 header: #{e.message}" + Redwood::log "warning: error decoding RFC 2047 header (#{e.class.name}): #{e.message}" v end end header end