Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Service/CommandSchedulerExecution.php
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@

if (false === $this->em->isOpen()) {
#$this->output->writeln('<comment>Entity manager closed by the last command.</comment>');
$this->em = $this->em->getConnection();
$this->em = $this->em::create($this->em->getConnection(), $this->em->getConfiguration());

Check warning on line 224 in Service/CommandSchedulerExecution.php

View check run for this annotation

Codecov / codecov/patch

Service/CommandSchedulerExecution.php#L224

Added line #L224 was not covered by tests
}

// Reactivate the command in DB
Expand Down