]> _ Git - cubist_util.git/commitdiff
wip #6117 @0.25
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 7 Jul 2023 13:49:55 +0000 (15:49 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 7 Jul 2023 13:49:55 +0000 (15:49 +0200)
src/CommandLine.php

index 05566bace455b2773959fef7e2b761813a4840dd..826dd30f0701c0ff4edd9ad7dbe3ab090d10d17d 100644 (file)
@@ -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()