lib/rest-ftp-daemon/logger.rb in rest-ftp-daemon-0.250.0 vs lib/rest-ftp-daemon/logger.rb in rest-ftp-daemon-0.250.3
- old
+ new
@@ -13,16 +13,13 @@
lines = context[:lines]
if lines.is_a? Hash
output = build_from_hash prefix2, lines
-
elsif lines.is_a? Array
output = build_from_array prefix2, lines
-
else
output = []
-
end
# Prepend plain message to output
output.unshift prefix1 + message.force_encoding(Encoding::UTF_8)