From 44a8811da886bae29dbb25533e2f4951e249daa9 Mon Sep 17 00:00:00 2001 From: Joanhey Date: Tue, 20 Dec 2022 12:15:10 +0100 Subject: [PATCH] Separate app error message from process --- Worker.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Worker.php b/Worker.php index 88e3c85aa..9e22cc7de 100644 --- a/Worker.php +++ b/Worker.php @@ -2063,7 +2063,7 @@ protected static function writeConnectionsStatisticsToStatusFile() public static function checkErrors() { if (static::STATUS_SHUTDOWN !== static::$_status) { - $error_msg = static::$_OS === \OS_TYPE_LINUX ? 'Worker['. \posix_getpid() .'] process terminated' : 'Worker process terminated'; + $error_msg = static::$_OS === \OS_TYPE_LINUX ? ' |> Worker['. \posix_getpid() .'] process terminated' : 'Worker process terminated'; $errors = error_get_last(); if ($errors && ($errors['type'] === \E_ERROR || $errors['type'] === \E_PARSE ||