From 40275b00b497fab3df035e494c4b2e800ef6aec7 Mon Sep 17 00:00:00 2001 From: Soutaro Matsumoto Date: Sat, 10 Dec 2016 04:02:51 +0900 Subject: [PATCH] Fix SerializedJobTooBig error initializer Looks like a typo. --- lib/active_job/queue_adapters/active_elastic_job_adapter.rb | 1 - 1 file changed, 1 deletion(-) 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.