From fba96e1af0362a59eecfbcb2d7b4efb5ee04761d Mon Sep 17 00:00:00 2001 From: Chris Rericha Date: Fri, 27 Dec 2024 12:09:07 -0500 Subject: [PATCH] Restore base game rescue clauses --- lib/engine/game/base.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/engine/game/base.rb b/lib/engine/game/base.rb index 41d39fee1c..3c155b6a1e 100644 --- a/lib/engine/game/base.rb +++ b/lib/engine/game/base.rb @@ -810,9 +810,9 @@ def process_action(action, add_auto_actions: false, validate_auto_actions: false @last_processed_action = action.id self - # rescue StandardError => e - # rescue_exception(e, action) - # self + rescue StandardError => e + rescue_exception(e, action) + self end def process_single_action(action) @@ -838,8 +838,8 @@ def process_single_action(action) transition_to_next_round! end end - # rescue Engine::GameError => e - # rescue_exception(e, action) + rescue Engine::GameError => e + rescue_exception(e, action) end def rescue_exception(e, action)