From 13110f1265bb5d0c05213436e93bcb952212b739 Mon Sep 17 00:00:00 2001 From: jrgriffiniii <1443986+jrgriffiniii@users.noreply.github.com> Date: Fri, 24 May 2024 11:31:35 -0400 Subject: [PATCH] wip --- app/controllers/works_wizard_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/works_wizard_controller.rb b/app/controllers/works_wizard_controller.rb index d1ef6ee7..dbc796ac 100644 --- a/app/controllers/works_wizard_controller.rb +++ b/app/controllers/works_wizard_controller.rb @@ -213,7 +213,7 @@ def readme_file_param patch_params[:readme_file] end - def rescue_aasm_error_dis + def rescue_aasm_error super rescue StandardError => generic_error redirect_to root_url, notice: "We apologize, an error was encountered: #{generic_error.message}. Please contact the PDC Describe administrators."