1
0
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:
Benjamin Beganović 2021-01-27 11:54:29 +01:00
parent 9f8df64289
commit 130714f457

View File

@ -301,6 +301,8 @@ class PaymentController extends Controller
SystemLog::TYPE_FAILURE,
auth('contact')->user()->client
);
throw new PaymentFailed($e->getMessage());
}
}