From 8945082d87f5d7bf5f9711bcf38095e145ec740b Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Fri, 7 Jul 2023 15:49:55 +0200 Subject: [PATCH] wip #6117 @0.25 --- src/CommandLine.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/CommandLine.php b/src/CommandLine.php index 05566ba..826dd30 100644 --- a/src/CommandLine.php +++ b/src/CommandLine.php @@ -259,7 +259,12 @@ class CommandLine public function debug() { - Log::debug($this->commande . "\n\n" . file_get_contents($this->output)); + $debug = $this->commande . "\n\n" . file_get_contents($this->output); + try { + Log::debug($debug); + } catch (\Exception $e) { + echo $debug; + } } public function dd() -- 2.39.5