diff --git a/lib/active_job/queue_adapters/active_elastic_job_adapter.rb b/lib/active_job/queue_adapters/active_elastic_job_adapter.rb index c5a150d..54745c4 100644 --- a/lib/active_job/queue_adapters/active_elastic_job_adapter.rb +++ b/lib/active_job/queue_adapters/active_elastic_job_adapter.rb @@ -27,7 +27,6 @@ class Error < RuntimeError; end; # imposed by Amazon SQS. class SerializedJobTooBig < Error def initialize(serialized_job) - msg = <<-MSG super(<<-MSG) The job contains #{serialized_job.bytesize} bytes in its serialzed form, which exceeds the allowed maximum of #{MAX_MESSAGE_SIZE} bytes imposed by Amazon SQS.