Skip to content

Firefly III: a personal finances manager

Add debug info to job change status [skip ci]

James Colec8cec91a93a6
diff --git a/app/Repositories/ExportJob/ExportJobRepository.php b/app/Repositories/ExportJob/ExportJobRepository.php
index a0eb52fc86..aa6973b6b2 100644
--- a/app/Repositories/ExportJob/ExportJobRepository.php
+++ b/app/Repositories/ExportJob/ExportJobRepository.php
@@ -18,6 +18,7 @@ use FireflyIII\Models\ExportJob;
use FireflyIII\User;
use Illuminate\Support\Str;
use Storage;
+use Log;
/**
* Class ExportJobRepository
@@ -37,6 +38,7 @@ class ExportJobRepository implements ExportJobRepositoryInterface
*/
public function changeStatus(ExportJob $job, string $status): bool
{
+ Log::debug(sprintf('Change status of job #%d to "%s"', $job->id, $status));
$job->change($status);
return true;