module Kernel

@api private

Private Instance Methods

require(path) click to toggle source
# File lib/stackify_apm/spies.rb, line 133
def require(path)
  res = require_without_apm(path)

  begin
    StackifyRubyAPM::Spies.hook_into(path)
  rescue StandardError => e
    puts "Failed hooking into '#{path}'. Please report this at " \
      'git@bitbucket.org:stackify/stackify-ruby-apm.git'
    puts e.backtrace.join("\n")
  end

  res
end
Also aliased as: require_without_apm
require_without_apm(path)
Alias for: require