lib/opentelemetry/instrumentation/registry.rb in opentelemetry-api-0.10.0 vs lib/opentelemetry/instrumentation/registry.rb in opentelemetry-api-0.11.0
- old
+ new
@@ -1,8 +1,8 @@
# frozen_string_literal: true
-# Copyright 2020 OpenTelemetry Authors
+# Copyright The OpenTelemetry Authors
#
# SPDX-License-Identifier: Apache-2.0
module OpenTelemetry
module Instrumentation
@@ -77,10 +77,10 @@
OpenTelemetry.logger.info "Instrumentation: #{instrumentation.name} was successfully installed"
else
OpenTelemetry.logger.warn "Instrumentation: #{instrumentation.name} failed to install"
end
rescue => e # rubocop:disable Style/RescueStandardError
- OpenTelemetry.logger.warn "Instrumentation: #{instrumentation.name} unhandled exception" \
+ OpenTelemetry.logger.warn "Instrumentation: #{instrumentation.name} unhandled exception " \
"during install #{e}: #{e.backtrace}"
end
end
end
end