aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/lib')
-rw-r--r--actionpack/lib/action_controller/metal/live.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/metal/live.rb b/actionpack/lib/action_controller/metal/live.rb
index fdf4ef293d..5ef4f6ccda 100644
--- a/actionpack/lib/action_controller/metal/live.rb
+++ b/actionpack/lib/action_controller/metal/live.rb
@@ -108,7 +108,7 @@ module ActionController
class Buffer < ActionDispatch::Response::Buffer #:nodoc:
def initialize(response)
- @error_callback = nil
+ @error_callback = lambda { true }
super(response, SizedQueue.new(10))
end