lib/isomorfeus/preact/config.rb in isomorfeus-preact-10.6.25 vs lib/isomorfeus/preact/config.rb in isomorfeus-preact-10.6.26
- old
+ new
@@ -130,10 +130,10 @@
end
class << self
def raise_error(error: nil, error_class: nil, message: nil, stack: nil)
error_class = error.class if error
-
+
error_class = RuntimeError unless error_class
execution_environment = if on_browser? then 'on Browser'
elsif on_ssr? then 'in Server Side Rendering'
elsif on_server? then 'on Server'
else