Correctly log the database migration to the system log

This commit is contained in:
Jan Böhmer 2022-12-17 00:44:12 +01:00
parent a0f934169c
commit f0395d51b0

View file

@ -65,7 +65,7 @@ class LogDBMigrationSubscriber implements EventSubscriber
try {
$log = new DatabaseUpdatedLogEntry($this->old_version, $this->new_version);
//$this->eventLogger->logAndFlush($log);
$this->eventLogger->logAndFlush($log);
} catch (\Throwable $exception) {
//Ignore any exception occuring here...
}