7 8 9 10 11 12 13 14
# File 'lib/sbmt/strangler/error_tracker.rb', line 7 def error(message, params = {}) unless defined?(Sentry) Sbmt::Strangler.logger.log_error(message, params) return end logging(:error, message, params) end