lib/raven/breadcrumbs/logger.rb in sentry-raven-2.11.0 vs lib/raven/breadcrumbs/logger.rb in sentry-raven-2.11.1

- old
+ new

@@ -34,10 +34,10 @@ return if ignored_logger?(progname) return if message.nil? || message == "" # some loggers will add leading/trailing space as they (incorrectly, mind you) # think of logging as a shortcut to std{out,err} - message = message.strip + message = message.to_s.strip last_crumb = Raven.breadcrumbs.peek # try to avoid dupes from logger broadcasts if last_crumb.nil? || last_crumb.message != message error = Raven::BreadcrumbLogger.parse_exception(message)