1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

Exception handling

This commit is contained in:
David Bomba 2021-10-25 14:06:33 +11:00
parent 8a85428532
commit e64f4fda9a

View File

@ -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') {