Debug message for #797

This commit is contained in:
James Cole
2017-09-03 13:00:36 +02:00
parent b002635d1b
commit 693c6fb71b

View File

@@ -204,8 +204,9 @@ class ImportStorage
return false; return false;
} }
$amount = app('steam')->positive($parameters['amount']); $amount = app('steam')->positive($parameters['amount']);
$names = [$parameters['asset'], $parameters['opposing']]; $names = [$parameters['asset'], $parameters['opposing']];
$transfer = [];
sort($names); sort($names);
foreach ($this->transfers as $transfer) { foreach ($this->transfers as $transfer) {
@@ -222,6 +223,7 @@ class ImportStorage
return false; return false;
} }
} }
Log::debug('There already is a transfer imported with these properties. Compare existing with new. ', ['existing' => $transfer, 'new' => $parameters]);
return true; return true;
} }