Closed gaurijo closed 11 months ago
This applies the same fix used for Rescue ActionController::Live::ClientDisconnected, but this time it rescues the CSV export when disconnected early.
CSV export
This was tested locally by starting a CSV export, stopping the download prematurely and seeing a 500 Internal Server Error in the server terminal.
500 Internal Server Error
Once the rescue action was implemented, I ran the same exact steps and it succeeds with the expected rescue message.
This applies the same fix used for Rescue ActionController::Live::ClientDisconnected, but this time it rescues the
CSV export
when disconnected early.This was tested locally by starting a
CSV export
, stopping the download prematurely and seeing a500 Internal Server Error
in the server terminal.Once the rescue action was implemented, I ran the same exact steps and it succeeds with the expected rescue message.