mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
Log OFX parsing errors
This commit is contained in:
parent
589c4d7463
commit
59451112fe
@ -8,6 +8,7 @@ use Session;
|
||||
use View;
|
||||
use Crypt;
|
||||
use File;
|
||||
use Utils;
|
||||
use App\Models\Account;
|
||||
use App\Models\BankAccount;
|
||||
use App\Ninja\Repositories\BankAccountRepository;
|
||||
@ -130,6 +131,7 @@ class BankAccountController extends BaseController
|
||||
$data = $this->bankAccountService->parseOFX($file);
|
||||
} catch (\Exception $e) {
|
||||
Session::flash('error', trans('texts.ofx_parse_failed'));
|
||||
Utils::logError($e);
|
||||
return view('accounts.import_ofx');
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user