Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Expand log for #797
James Cole78c8680300a6
diff --git a/app/Import/Storage/ImportStorage.php b/app/Import/Storage/ImportStorage.phpindex 66a212f0f1..4c89b1ba02 100644--- a/app/Import/Storage/ImportStorage.php+++ b/app/Import/Storage/ImportStorage.php@@ -144,7 +144,10 @@ class ImportStorageif ($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);