diff --git a/console.php b/console.php index dde7f8edccb71..8a1f67be7ca30 100644 --- a/console.php +++ b/console.php @@ -105,7 +105,7 @@ function exceptionHandler($exception) { 'profiler' => 'db', 'token' => $profile->getToken(), ]); - $output->writeln('Profiler output available at ' . $url); + $output->getErrorOutput()->writeln('Profiler output available at ' . $url, ); } if ($exitCode > 255) {