Skip to content

Commit cd6fcc6

Browse files
committed
Falback to original exception rendering
Different method signature on 2.8 and 3.0 makes overriding this tricky, and I am unsure of the benefits anyway.
1 parent 45d1d62 commit cd6fcc6

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/PHPCR/Shell/Console/Application/ShellApplication.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -267,16 +267,6 @@ protected function getDefaultCommand()
267267
return 'shell:path:show';
268268
}
269269

270-
/**
271-
* Render an exception to the console
272-
*
273-
* {@inheritDoc}
274-
*/
275-
public function renderException(\Exception $exception, OutputInterface $output)
276-
{
277-
$output->writeln(sprintf('<exception>%s</exception>', $exception->getMessage()));
278-
}
279-
280270
/**
281271
* Wrap the add method and do not register commands which are unsupported by
282272
* the current transport.

0 commit comments

Comments
 (0)