Skip to content

Commit

Permalink
Fix for ruby25
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Anema committed Sep 25, 2020
1 parent ab9baeb commit 884bce3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/shopify_app/engine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class Engine < Rails::Engine
if ActiveJob::Base.respond_to?(:log_arguments?, true)
WebhooksManagerJob.log_arguments = false
ScripttagsManagerJob.log_arguments = false
elsif ActiveJob::Logging::LogSubscriber.private_method_defined?(:args_info, true)
elsif ActiveJob::Logging::LogSubscriber.private_method_defined?(:args_info)
ActiveJob::Logging::LogSubscriber.prepend(RedactJobParams)
end
end
Expand Down

0 comments on commit 884bce3

Please sign in to comment.