diff --git a/lib/Consumer/ForkCurl.php b/lib/Consumer/ForkCurl.php index 8c7a3b5..91b06ef 100644 --- a/lib/Consumer/ForkCurl.php +++ b/lib/Consumer/ForkCurl.php @@ -41,6 +41,7 @@ public function flushBatch(array $messages): bool exec($cmd2, $output, $exit); if ($exit !== 0) { + $output = implode(PHP_EOL, $output); $this->handleError($exit, $output); return false; } @@ -75,6 +76,7 @@ public function flushBatch(array $messages): bool exec($cmd, $output, $exit); if ($exit !== 0) { + $output = implode(PHP_EOL, $output); $this->handleError($exit, $output); }