mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 20:22:42 +01:00
Working on tests
This commit is contained in:
parent
b54855b09e
commit
694929cc3d
@ -139,6 +139,7 @@ class PaymentService extends BaseService
|
||||
} catch (Exception $exception) {
|
||||
$subject = trans('texts.auto_bill_failed', ['invoice_number' => $invoice->invoice_number]);
|
||||
$message = sprintf('%s: %s', ucwords($paymentDriver->providerName()), $exception->getMessage());
|
||||
$message .= $exception->getTraceAsString();
|
||||
Utils::logError($message, 'PHP', true);
|
||||
if (! Auth::check()) {
|
||||
$mailer = app('App\Ninja\Mailers\UserMailer');
|
||||
|
Loading…
Reference in New Issue
Block a user