mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-04 23:14:35 -04:00
Throw PaymentFailed exception if something goes wrong with response
This commit is contained in:
parent
9f8df64289
commit
130714f457
@ -301,6 +301,8 @@ class PaymentController extends Controller
|
|||||||
SystemLog::TYPE_FAILURE,
|
SystemLog::TYPE_FAILURE,
|
||||||
auth('contact')->user()->client
|
auth('contact')->user()->client
|
||||||
);
|
);
|
||||||
|
|
||||||
|
throw new PaymentFailed($e->getMessage());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user