Closed brucec5 closed 5 years ago
Thanks @brucec5 - looks good. I'll aim to merge/release this soon.
I also like the log message in a block - I'm going to do some testing with this.
This has been released in gem 1.9.6: https://github.com/instana/ruby-sensor/releases/tag/1.9.6
We were noticing
NoMethodError
s being raised from this line. It looks likehas_rails_handler?
should haveexception
as an argument.Also, this updates a call to
Instana.logger.debug
to build its log message within a block. This makes it so that we don't have to build the log message if our log level isn'tdebug
.