Skip to content
  • Sean Griffin's avatar
    c01d080f
    Exception handling for controllers using ActionController::Live · c01d080f
    Sean Griffin authored
    Any exceptions that occured at the view or controller level for a
    controller using ActionController::Live would cause the server to either
    hang with an open socket indefinitely, or immediately crash (depending
    on whether the server was launched with rails s or directly). Changed
    the behavior of exceptions to act the same as streaming templates for
    html requests, and allow for an on_error callback if needed.
    c01d080f
    Exception handling for controllers using ActionController::Live
    Sean Griffin authored
    Any exceptions that occured at the view or controller level for a
    controller using ActionController::Live would cause the server to either
    hang with an open socket indefinitely, or immediately crash (depending
    on whether the server was launched with rails s or directly). Changed
    the behavior of exceptions to act the same as streaming templates for
    html requests, and allow for an on_error callback if needed.
Loading