Skip to content

Commit

Permalink
fix: Rephrase potentially misleading warning message
Browse files Browse the repository at this point in the history
Signed-off-by: Ferenc Géczi <[email protected]>
  • Loading branch information
Ferenc- committed Jan 3, 2024
1 parent 23faacf commit 5649fe7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/instana/serverless.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
begin
require 'instana/instrumentation/instrumented_request'
rescue LoadError => _e
Instana.logger.warn("Unable to Instana::InstrumentedRequest. HTTP based triggers won't generate spans.")
Instana.logger.warn("Unable to load Instana::InstrumentedRequest. "\
"This is normal when the Rack gem is not installed. "\
"HTTP based triggers won't generate spans.")
end
# :nocov:

Expand Down

0 comments on commit 5649fe7

Please sign in to comment.