From: Vincent Vanwaelscappel Date: Fri, 7 Jul 2023 13:49:55 +0000 (+0200) Subject: wip #6117 @0.25 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=8945082d87f5d7bf5f9711bcf38095e145ec740b;p=cubist_util.git wip #6117 @0.25 --- 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()