diff options
author | Ivan Enderlin <ivan.enderlin@hoa-project.net> | 2014-08-25 10:09:33 +0200 |
---|---|---|
committer | Ivan Enderlin <ivan.enderlin@hoa-project.net> | 2014-08-25 10:09:33 +0200 |
commit | 20d62e3063b00cdac780c5062f2ab78f01a0e249 (patch) | |
tree | 68288f8ce25558dd76514766ef901b456744327f /Bin | |
parent | cf7c9b15c180c1f2858794ecbfd11d9f8d001b9b (diff) | |
download | Praspel-20d62e3063b00cdac780c5062f2ab78f01a0e249.zip Praspel-20d62e3063b00cdac780c5062f2ab78f01a0e249.tar.gz Praspel-20d62e3063b00cdac780c5062f2ab78f01a0e249.tar.bz2 |
Catch all exceptions.
Diffstat (limited to 'Bin')
-rw-r--r-- | Bin/Shell.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Bin/Shell.php b/Bin/Shell.php index f148feb..7b9e32a 100644 --- a/Bin/Shell.php +++ b/Bin/Shell.php @@ -244,10 +244,9 @@ class Shell extends \Hoa\Console\Dispatcher\Kit { } } - catch ( \Hoa\Core\Exception $e ) { + catch ( \Exception $e ) { echo $e->getMessage(), "\n"; - } echo "\n"; |