mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 20:22:42 +01:00
Updates for rotessa
This commit is contained in:
parent
f5226d342f
commit
ce181b976a
@ -111,7 +111,7 @@ class PaymentMethod implements MethodInterface, LivewireMethodInterface
|
||||
|
||||
$message = json_decode($e->getMessage(), true);
|
||||
|
||||
return redirect()->route('client.payment_methods.index')->withErrors(array_values($message['errors']));
|
||||
return redirect()->route('client.payment_methods.index')->withErrors(array_values($message['errors'] ?? [$e->getMessage()]));
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user