Skip to content

Commit 6937c58

Browse files
chore(bunny): add comments on logging (#483)
Signed-off-by: Arjun Rajappa <Arjun.Rajappa@ibm.com>
1 parent 5ce5616 commit 6937c58

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/instana/instrumentation/bunny.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ def extract_context_from_headers(properties)
121121
end
122122

123123
def log_error(error)
124+
# Log errors on to console if INSTANA_DEBUG is enabled
124125
::Instana.logger.debug { "#{__method__}:#{File.basename(__FILE__)}:#{__LINE__}: #{error.message}" }
125126
end
126127
end

0 commit comments

Comments
 (0)