app/controllers/lookbook/previews_controller.rb in lookbook-0.7.2.beta.2 vs app/controllers/lookbook/previews_controller.rb in lookbook-0.7.2.beta.3
- old
+ new
@@ -174,9 +174,9 @@
file_path: method.source_location.first,
line_number: method.source_location[1]
}
end
end
- Lookbook::Error.new(exception, error_params || {})
+ Lookbook::Error.new(exception, **(error_params || {}))
end
end
end