Expand log for #797

This commit is contained in:
James Cole 2017-09-03 18:18:19 +02:00
parent 83754960a6
commit 78c8680300
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E

View File

@ -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);