@@ 153-159 (lines=7) @@ | ||
150 | } |
|
151 | } |
|
152 | ||
153 | if (isset($exception) && $exception instanceof Exception\BreakException) { |
|
154 | $message = $exception->getMessage(); |
|
155 | if ($message) { |
|
156 | $this->console->output($task->expand($message)); |
|
157 | } |
|
158 | unset($exception); |
|
159 | } |
|
160 | ||
161 | if (isset($key)) { |
|
162 | foreach ($as as $name) { |
@@ 255-264 (lines=10) @@ | ||
252 | ||
253 | $this->console->outdent($indent); |
|
254 | ||
255 | if ($exception) { |
|
256 | if ($exception instanceof BreakException) { |
|
257 | $message = $exception->getMessage(); |
|
258 | if ($message) { |
|
259 | $this->console->output($task->expand($message)); |
|
260 | } |
|
261 | } else { |
|
262 | throw $exception; |
|
263 | } |
|
264 | } |
|
265 | ||
266 | return $this; |
|
267 | } |