From f3738b1435a5d79bb24bdf39dbbf727ca914cd8a Mon Sep 17 00:00:00 2001 From: Arjun Rajappa Date: Thu, 4 Dec 2025 12:25:31 +0530 Subject: [PATCH] chore(bunny): add comments on logging Signed-off-by: Arjun Rajappa --- lib/instana/instrumentation/bunny.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/instana/instrumentation/bunny.rb b/lib/instana/instrumentation/bunny.rb index dc7cdeed..5e9624ba 100644 --- a/lib/instana/instrumentation/bunny.rb +++ b/lib/instana/instrumentation/bunny.rb @@ -121,6 +121,7 @@ def extract_context_from_headers(properties) end def log_error(error) + # Log errors on to console if INSTANA_DEBUG is enabled ::Instana.logger.debug { "#{__method__}:#{File.basename(__FILE__)}:#{__LINE__}: #{error.message}" } end end