mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Exception handling
This commit is contained in:
parent
8a85428532
commit
e64f4fda9a
@ -185,7 +185,7 @@ class WePayPaymentDriver extends BaseDriver
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (! isset($objectType)) {
|
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') {
|
if ($objectType == 'credit_card') {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user