diff --git a/lib/postal/message_db/delivery.rb b/lib/postal/message_db/delivery.rb index b4903ac..93116a9 100644 --- a/lib/postal/message_db/delivery.rb +++ b/lib/postal/message_db/delivery.rb @@ -50,7 +50,7 @@ module Postal :message => @message.webhook_hash, :status => self.status, :details => self.details, - :output => self.output.to_s.force_encoding('UTF-8').scrub, + :output => self.output.to_s.force_encoding('UTF-8').scrub.truncate(512), :sent_with_ssl => self.sent_with_ssl, :timestamp => @attributes['timestamp'], :time => self.time