We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 019aebb + 3a46d6a commit 7ae11c8Copy full SHA for 7ae11c8
src/View/Components/Command.php
@@ -21,7 +21,7 @@ public function __construct($name) {
21
$commands = Artisan::all();
22
23
if (!in_array($name, array_keys($commands)))
24
- throw new \Exception("Command not found");
+ throw new \Exception("Command \"{$name}\" not found");
25
26
$this->command = $commands[$name];
27
$this->arguments = $this->command->getDefinition()->getArguments();
@@ -31,4 +31,4 @@ public function __construct($name) {
31
public function render() {
32
return view('gui::components.command');
33
}
34
-}
+}
0 commit comments