Add debug info to job change status [skip ci]

This commit is contained in:
James Cole
2017-09-15 07:00:53 +02:00
parent 38bb074751
commit c8cec91a93

View File

@@ -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;