@@ -38,8 +38,7 @@ |
||
38 | 38 | if ($this->webartisan->isEnabled() and $request->url() != asset(config('webartisan.route_prefix').'/run')) { |
39 | 39 | try { |
40 | 40 | $response->getContent(); |
41 | - } |
|
42 | - catch (\ErrorException $e) { |
|
41 | + } catch (\ErrorException $e) { |
|
43 | 42 | return $response; |
44 | 43 | } |
45 | 44 | $this->webartisan->render($response); |
@@ -31,8 +31,7 @@ |
||
31 | 31 | $commandPrepared = $this->prepareCommand($this->command); |
32 | 32 | try { |
33 | 33 | Artisan::call($commandPrepared); |
34 | - } |
|
35 | - catch(\Exception $e) { |
|
34 | + } catch(\Exception $e) { |
|
36 | 35 | return $this->prepareResultToHtml($e->getMessage(), 'error'); |
37 | 36 | } |
38 | 37 | return $this->prepareResultToHtml(Artisan::output(), 'success'); |