lib/sapience/formatters/default.rb in sapience-0.1.1 vs lib/sapience/formatters/default.rb in sapience-0.1.2
- old
+ new
@@ -22,10 +22,10 @@
# Log message
message << " -- #{log.message}" if log.message
# Payload
- if payload = log.payload_to_s
+ if (payload = log.payload_to_s)
message << " -- " << payload
end
# Exceptions
if log.exception