From deb49c81c9d269708c6252647c1afb668b982d97 Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Tue, 25 Feb 2014 07:47:51 +0100 Subject: [PATCH] show error, not exception --- src/bdrem/UserInterface.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bdrem/UserInterface.php b/src/bdrem/UserInterface.php index 9fd4d69..c5e29b7 100644 --- a/src/bdrem/UserInterface.php +++ b/src/bdrem/UserInterface.php @@ -32,7 +32,7 @@ abstract class UserInterface $this->render($arEvents); } catch (\Exception $e) { $this->preRenderParameterError(); - echo 'Exception: ' . $e->getCode() . ' - ' . $e->getMessage() . "\n"; + echo 'Error: ' . $e->getMessage() . "\n"; exit(1); } } -- 2.30.2