mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 23:45:10 +00:00
Small fixes and updates. [skip ci]
This commit is contained in:
@@ -173,9 +173,9 @@ class MigrationHelper implements MigrationHelperInterface
|
||||
$limit->amount = floatval($entry->amount);
|
||||
$limit->repeats = 0;
|
||||
$limit->repeat_freq = 'monthly';
|
||||
if (!$limit->save()) {
|
||||
\Log::error('MigrationException!');
|
||||
throw new MigrationException('Importing limits failed: ' . $limit->errors()->first());
|
||||
try {
|
||||
$limit->save();
|
||||
} catch (\Exception $e) {
|
||||
}
|
||||
} else {
|
||||
\Log::warning('No budget for this limit!');
|
||||
|
Reference in New Issue
Block a user