lib/react/server_rendering.rb in react-rails-1.10.0 vs lib/react/server_rendering.rb in react-rails-1.11.0

- old
+ new

@@ -22,12 +22,12 @@ renderer.new(renderer_options) end class PrerenderError < RuntimeError def initialize(component_name, props, js_message) - message = ["Encountered error \"#{js_message}\" when prerendering #{component_name} with #{props}", + message = ["Encountered error \"#{js_message.inspect}\" when prerendering #{component_name} with #{props}", js_message.backtrace.join("\n")].join("\n") super(message) end end end -end \ No newline at end of file +end