Add some debug entries.

This commit is contained in:
James Cole
2018-07-09 20:42:16 +02:00
parent f670d930f3
commit c99e233026
4 changed files with 16 additions and 6 deletions

View File

@@ -48,7 +48,7 @@ class FileRoutine implements RoutineInterface
public function run(): void
{
Log::debug(sprintf('Now in run() for file routine with status: %s', $this->importJob->status));
if ($this->importJob->status === 'ready_to_run') {
if ('ready_to_run' === $this->importJob->status) {
$this->repository->setStatus($this->importJob, 'running');
// get processor, depending on file type
// is just CSV for now.