lib/hyperstack/hotloader/add_error_boundry.rb in hyperstack-config-1.0.alpha1.8 vs lib/hyperstack/hotloader/add_error_boundry.rb in hyperstack-config-1.0.0.pre.alpha1

- old
+ new

@@ -1,10 +1,10 @@ module Hyperstack class Hotloader module AddErrorBoundry def self.included(base) base.after_error do |*err| - @err = Hyperstack::Internal::Component::RescueWrapper.after_error_args || err + @err = err Hyperstack::Component.force_update! end base.define_method :render do @err ? parse_display_and_clear_error : top_level_render end