File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed
lib/datadog/core/telemetry/http/adapters Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change 1+ # frozen_string_literal: true
2+
3+ # datadog-ci-rb versions 1.15.0 and lower require this file and guard
4+ # the require with a rescue of StandardError. Unfortunately LoadError,
5+ # which would be raised if the file is missing, is not a subclass of
6+ # StandardError and thus would not be caught by the rescue.
7+ # We provide this file with a dummy class in it to avoid exceptions
8+ # in datadog-ci-rb until version 2.0 is released.
9+ #
10+ # Note that datadog-ci-rb patches telemetry transport to be "real" even when
11+ # webmock is used; this patching won't work with datadog-ci-rb versions
12+ # 1.15.0 and older and dd-trace-rb 2.16.0 and newer. There will be no
13+ # errors/exceptions reported but telemetry events will not be sent.
14+
15+ module Datadog
16+ module Core
17+ module Telemetry
18+ module Http
19+ module Adapters
20+ class Net
21+ end
22+ end
23+ end
24+ end
25+ end
26+ end
You can’t perform that action at this time.
0 commit comments