mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-15 08:35:00 +00: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 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;
|
||||
|
Reference in New Issue
Block a user