Fix code structure

This commit is contained in:
James Cole
2023-10-06 18:23:32 +02:00
parent 0ce34048cd
commit 8e183d8cad
7 changed files with 36 additions and 37 deletions

View File

@@ -344,8 +344,8 @@ class TransactionGroupTransformer extends AbstractTransformer
],
];
} catch (FireflyException $e) {
Log::error($e->getMessage());
Log::error($e->getTraceAsString());
app('log')->error($e->getMessage());
app('log')->error($e->getTraceAsString());
throw new FireflyException(sprintf('Transaction group #%d is broken. Please check out your log files.', $group->id), 0, $e);
}