From e64f4fda9a8e93ee2738c0bfcf637f7758c9a5b8 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Mon, 25 Oct 2021 14:06:33 +1100 Subject: [PATCH] Exception handling --- app/PaymentDrivers/WePayPaymentDriver.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/PaymentDrivers/WePayPaymentDriver.php b/app/PaymentDrivers/WePayPaymentDriver.php index 27c60e570b..9624a329cf 100644 --- a/app/PaymentDrivers/WePayPaymentDriver.php +++ b/app/PaymentDrivers/WePayPaymentDriver.php @@ -185,7 +185,7 @@ class WePayPaymentDriver extends BaseDriver } if (! isset($objectType)) { - throw new Exception('Could not find object id parameter'); + throw new \Exception('Could not find object id parameter'); } if ($objectType == 'credit_card') {