diff --git a/issue-bot/src/Console/RunCommand.php b/issue-bot/src/Console/RunCommand.php index b229137309..a35f300766 100644 --- a/issue-bot/src/Console/RunCommand.php +++ b/issue-bot/src/Console/RunCommand.php @@ -236,7 +236,7 @@ private function analyseHash(LoopInterface $loop, OutputInterface $output, int $ try { $json = Json::decode($stdout, Json::FORCE_ARRAY); } catch (Throwable $e) { - echo $stdout . "\n"; + $output->writeln($stdout); throw new Exception(sprintf('Failed to decode JSON for %s: %s', $hash, $e->getMessage())); }