lib/luna_park/notifiers/log.rb in luna_park-0.11.5 vs lib/luna_park/notifiers/log.rb in luna_park-0.11.6
- old
+ new
@@ -151,10 +151,10 @@
def extend(details, with:)
message = with
return details unless message.respond_to?(:details)
- message.details.merge(details) do |_, object_value, message_value|
+ (message.details || {}).merge(details || {}) do |_, object_value, message_value|
{ message: message_value, object: object_value }
end
end
def serialize(obj, **details)