aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2014-08-25 10:09:33 +0200
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2014-08-25 10:09:33 +0200
commit20d62e3063b00cdac780c5062f2ab78f01a0e249 (patch)
tree68288f8ce25558dd76514766ef901b456744327f
parentcf7c9b15c180c1f2858794ecbfd11d9f8d001b9b (diff)
downloadPraspel-20d62e3063b00cdac780c5062f2ab78f01a0e249.zip
Praspel-20d62e3063b00cdac780c5062f2ab78f01a0e249.tar.gz
Praspel-20d62e3063b00cdac780c5062f2ab78f01a0e249.tar.bz2
Catch all exceptions.
-rw-r--r--Bin/Shell.php3
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";