From 079546f5c07403d7e280bdde7faad73c0ab63bfb Mon Sep 17 00:00:00 2001 From: Seamus Lee Date: Tue, 29 Oct 2019 15:26:57 +1100 Subject: [PATCH] Return FALSE instead of throwing Exception if package throws Exception --- CRM/Utils/String.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Utils/String.php b/CRM/Utils/String.php index 44c4153368..3dacacf16e 100644 --- a/CRM/Utils/String.php +++ b/CRM/Utils/String.php @@ -954,7 +954,7 @@ class CRM_Utils_String { return unserialize($string); } catch (UnserializeFailedException $e) { - throw new CRM_Core_Exception($e->getMessage()); + return FALSE; } } -- 2.25.1