lib/imap/backup/serializer/appender.rb in imap-backup-11.1.0 vs lib/imap/backup/serializer/appender.rb in imap-backup-12.0.0

- old
+ new

@@ -27,10 +27,10 @@ end rollback_on_error do serialized = to_serialized(message) mbox.append serialized - imap.append uid, serialized.length, flags: flags + imap.append uid, serialized.bytesize, flags: flags rescue StandardError => e raise <<-ERROR.gsub(/^\s*/m, "") [#{folder}] failed to append message #{uid}: #{message}. #{e}: #{e.backtrace.join("\n")}"