Skip to content

Commit

Permalink
Update dependency not found message
Browse files Browse the repository at this point in the history
  • Loading branch information
cwjenkins committed Jan 23, 2023
1 parent eae47f5 commit 2053168
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion registry/lib/opentelemetry/instrumentation/registry.rb
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def find_instrumentation(instrumentation_name)

def install_instrumentation(instrumentation, config, suppress_not_found)
if !instrumentation.present?
OpenTelemetry.logger.warn "Could not install #{instrumentation.name} because it was not found" unless suppress_not_found
OpenTelemetry.logger.warn "Instrumentation: #{instrumentation.name} skipping install given corresponding dependency not found" unless suppress_not_found
elsif instrumentation.install(config)
OpenTelemetry.logger.info "Instrumentation: #{instrumentation.name} was successfully installed with the following options #{instrumentation.config}"
else
Expand Down

0 comments on commit 2053168

Please sign in to comment.