mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-22 20:16:22 +00:00
Fix various import bugs.
This commit is contained in:
@@ -81,11 +81,8 @@ class Import extends Command
|
||||
$routine->run();
|
||||
|
||||
/** @var MessageBag $error */
|
||||
foreach($routine->errors as $index => $error) {
|
||||
if($error->count() > 0) {
|
||||
$message = join(', ',$error->all());
|
||||
$this->error(sprintf('Error importing line #%d: %s', $index, $message));
|
||||
}
|
||||
foreach ($routine->errors as $index => $error) {
|
||||
$this->error(sprintf('Error importing line #%d: %s', $index, $error));
|
||||
}
|
||||
|
||||
// display result to user:
|
||||
|
Reference in New Issue
Block a user