From f0b3c3520be53630e8b28a81768d509110dd0727 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Wed, 14 Aug 2024 08:51:27 -0400 Subject: [PATCH] Wrap all API methods in try/catch blocks --- Koha/Plugin/Com/ByWaterSolutions/TwilioVoice/API.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Koha/Plugin/Com/ByWaterSolutions/TwilioVoice/API.pm b/Koha/Plugin/Com/ByWaterSolutions/TwilioVoice/API.pm index 4169441..9f187c4 100644 --- a/Koha/Plugin/Com/ByWaterSolutions/TwilioVoice/API.pm +++ b/Koha/Plugin/Com/ByWaterSolutions/TwilioVoice/API.pm @@ -224,7 +224,7 @@ sub amd_callback { catch { warn "CAUGHT UNHANDLED ERROR: $_"; $c->unhandled_exception($_); - } + }; } 1;