mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-18 18:44:16 +00:00
Add description to debug logging. #1443
This commit is contained in:
@@ -130,6 +130,7 @@ class ImportableConverter
|
|||||||
*/
|
*/
|
||||||
private function convertSingle(ImportTransaction $importable): array
|
private function convertSingle(ImportTransaction $importable): array
|
||||||
{
|
{
|
||||||
|
Log::debug(sprintf('Description is: "%s"', $importable->description));
|
||||||
$amount = $importable->calculateAmount();
|
$amount = $importable->calculateAmount();
|
||||||
$foreignAmount = $importable->calculateForeignAmount();
|
$foreignAmount = $importable->calculateForeignAmount();
|
||||||
if ('' === $amount) {
|
if ('' === $amount) {
|
||||||
@@ -208,6 +209,8 @@ class ImportableConverter
|
|||||||
$date = new Carbon;
|
$date = new Carbon;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
$dateStr = $date->format('Y-m-d');
|
$dateStr = $date->format('Y-m-d');
|
||||||
|
|
||||||
return [
|
return [
|
||||||
|
Reference in New Issue
Block a user