mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-05 18:52:44 +01: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,
|
||||
auth('contact')->user()->client
|
||||
);
|
||||
|
||||
throw new PaymentFailed($e->getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user