mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
Exception handling
This commit is contained in:
parent
8a85428532
commit
e64f4fda9a
@ -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') {
|
||||
|
Loading…
Reference in New Issue
Block a user