We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6538ae commit 568fd2fCopy full SHA for 568fd2f
lib/react/renderer.rb
@@ -5,7 +5,8 @@ class Renderer
5
6
class PrerenderError < RuntimeError
7
def initialize(component_name, props, js_message)
8
- message = "Encountered error \"#{js_message}\" when prerendering #{component_name} with #{props}"
+ message = ["Encountered error \"#{js_message}\" when prerendering #{component_name} with #{props}",
9
+ js_message.backtrace.join("\n")].join("\n")
10
super(message)
11
end
12
0 commit comments