lib/pennyworth/cli/actions/system/errors.rb in pennyworth-11.2.2 vs lib/pennyworth/cli/actions/system/errors.rb in pennyworth-12.0.0
- old
+ new
@@ -9,10 +9,10 @@
def initialize processor: Processor.for_system_errors, container: Container
@processor = processor
@container = container
end
- def call = processor.call.to_json.then { |json| logger.info json }
+ def call = processor.call.to_json.then { |json| logger.info { json } }
private
attr_reader :processor, :container