mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Expand log for #797
This commit is contained in:
parent
83754960a6
commit
78c8680300
@ -144,7 +144,10 @@ class ImportStorage
|
||||
if ($this->isDoubleTransfer($parameters) || $this->hashAlreadyImported($importJournal->hash)) {
|
||||
$this->job->addStepsDone(3);
|
||||
// throw error
|
||||
throw new FireflyException('Detected a possible duplicate, skip this one.');
|
||||
$message = sprintf('Detected a possible duplicate, skip this one (hash: %s).', $importJournal->hash);
|
||||
Log::error($message, $parameters);
|
||||
throw new FireflyException($message);
|
||||
|
||||
}
|
||||
unset($parameters);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user