Skip to content

Commit

Permalink
returning object
Browse files Browse the repository at this point in the history
  • Loading branch information
KaranN committed Apr 17, 2020
1 parent 4191d97 commit 0c39170
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/active_job/queue_adapters/active_elastic_job_adapter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def enqueue_at(job, timestamp) #:nodoc:
@queue_urls[job.queue_name.to_s] = nil
retry
end
Rails.logger.debug "****DEBUG: called from enqueue_at with @queue_urls #{@queue_urls.inspect}"
Rails.logger.debug "******DEBUG: called from enqueue_at with @queue_urls #{@queue_urls.inspect}"
raise NonExistentQueue.new(job, aws_region)
rescue Aws::Errors::ServiceError => e
raise Error, "Could not enqueue job, #{e.message}"
Expand Down Expand Up @@ -189,6 +189,7 @@ def aws_sqs_client_credentials
else
Rails.logger.debug "******DEBUG: aws_credentials not present}"
end
return @aws_credentials
end

def aws_region
Expand Down

0 comments on commit 0c39170

Please sign in to comment.