Fix errors in Core namespace

This commit is contained in:
Art4 2024-12-03 20:11:46 +00:00
parent 6ad1dd72d6
commit 496f0755b1
15 changed files with 79 additions and 75 deletions

View file

@ -81,7 +81,7 @@ class Process extends BaseRepository
'pid' => $process->pid,
'hostname' => $this->currentHost,
])) {
throw new ProcessPersistenceException(sprintf('The process with PID %s doesn\'t exists.', $process->pi));
throw new ProcessPersistenceException(sprintf('The process with PID %d doesn\'t exists.', $process->pid));
}
} catch (\Exception $exception) {
throw new ProcessPersistenceException(sprintf('Cannot delete process with PID %s.', $process->pid), $exception);