Skip to content

Commit 791aadb

Browse files
committed
Ensure ActionMailer is instrumented after ActiveSupport finishes loading
1 parent 2857ebe commit 791aadb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/instana/activators/action_mailer.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ module Instana
55
module Activators
66
class ActionMailer < Activator
77
def can_instrument?
8-
defined?(::ActionMailer::Base)
8+
defined?(::ActionMailer::Base) && defined?(ActiveSupport::Executor)
99
end
1010

1111
def instrument

0 commit comments

Comments
 (0)