Sha256: 76f36c6c035218a8dab9653b9e4c7f5fa500419e983eedd49a86bfaf335230f7
Contents?: true
Size: 369 Bytes
Versions: 24
Compression:
Stored size: 369 Bytes
Contents
if %w[1 true].include?((ENV['DD_APPSEC_ENABLED'] || '').downcase) begin require_relative 'contrib/auto_instrument' Datadog::AppSec::Contrib::AutoInstrument.patch_all rescue StandardError => e Kernel.warn( '[ddtrace] AppSec failed to instrument. No security check will be performed. error: ' \ " #{e.class.name} #{e.message}" ) end end
Version data entries
24 entries across 24 versions & 1 rubygems