show error, not exception
authorChristian Weiske <cweiske@cweiske.de>
Tue, 25 Feb 2014 06:47:51 +0000 (07:47 +0100)
committerChristian Weiske <cweiske@cweiske.de>
Tue, 25 Feb 2014 06:47:51 +0000 (07:47 +0100)
src/bdrem/UserInterface.php

index 9fd4d69..c5e29b7 100644 (file)
@@ -32,7 +32,7 @@ abstract class UserInterface
             $this->render($arEvents);
         } catch (\Exception $e) {
             $this->preRenderParameterError();
             $this->render($arEvents);
         } catch (\Exception $e) {
             $this->preRenderParameterError();
-            echo 'Exception: ' . $e->getCode() . ' - ' . $e->getMessage() . "\n";
+            echo 'Error: ' . $e->getMessage() . "\n";
             exit(1);
         }
     }
             exit(1);
         }
     }