mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Add debug info to job change status [skip ci]
This commit is contained in:
@@ -18,6 +18,7 @@ use FireflyIII\Models\ExportJob;
|
|||||||
use FireflyIII\User;
|
use FireflyIII\User;
|
||||||
use Illuminate\Support\Str;
|
use Illuminate\Support\Str;
|
||||||
use Storage;
|
use Storage;
|
||||||
|
use Log;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class ExportJobRepository
|
* Class ExportJobRepository
|
||||||
@@ -37,6 +38,7 @@ class ExportJobRepository implements ExportJobRepositoryInterface
|
|||||||
*/
|
*/
|
||||||
public function changeStatus(ExportJob $job, string $status): bool
|
public function changeStatus(ExportJob $job, string $status): bool
|
||||||
{
|
{
|
||||||
|
Log::debug(sprintf('Change status of job #%d to "%s"', $job->id, $status));
|
||||||
$job->change($status);
|
$job->change($status);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user