diff --git a/src/Core/Worker/Repository/Process.php b/src/Core/Worker/Repository/Process.php index 73f5a05b8..1c53462be 100644 --- a/src/Core/Worker/Repository/Process.php +++ b/src/Core/Worker/Repository/Process.php @@ -48,7 +48,7 @@ class Process extends BaseRepository { parent::__construct($database, $logger, $factory); - $this->currentHost = $factory->determineHost($server[self::NODE_ENV] ?? ''); + $this->currentHost = $factory->determineHost($server[self::NODE_ENV] ?? null); } /**