Debug message for #797

This commit is contained in:
James Cole 2017-09-03 13:00:36 +02:00
parent b002635d1b
commit 693c6fb71b
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E

View File

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