mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-10-13 08:52:05 -05:00
Clean up various code.
This commit is contained in:
1 parent
d193a6aec4
commit
d4ba014a8a
14 files changed
+171
-95
No files matched your search
@@ -113,7 +113,7 @@ class TransactionFactory
|
||||
$destinationAccount = $this->findAccount($destinationType, $data['destination_id'], $data['destination_name']);
|
||||
|
||||
if (null === $sourceAccount || null === $destinationAccount) {
|
||||
throw new FireflyException('Could not determine source or destination account.');
|
||||
throw new FireflyException('Could not determine source or destination account.', $data);
|
||||
}
|
||||
|
||||
Log::debug(sprintf('Source type is "%s", destination type is "%s"', $sourceAccount->accountType->type, $destinationAccount->accountType->type));
|
||||
|
||||
Reference in new issue
Block a user