lib/arbre/patches.rb in express_templates-0.11.4 vs lib/arbre/patches.rb in express_templates-0.11.5
- old
+ new
@@ -29,9 +29,10 @@
end
def on_component_error(tag, exception)
tag.content = "Error rendering #{tag.class} component: #{exception.message}"
::Rails.logger.error exception
+ ::Rails.logger.error exception.backtrace.slice(0..20).join("\n")
end
end
def possible_route_proxy(name)
if helpers.controller.class.parent &&