From 7221f312e59c62ef0e5a2397251305b433adfa64 Mon Sep 17 00:00:00 2001 From: Olivier Paroz Date: Sat, 14 Mar 2015 21:56:51 +0100 Subject: Pass environment exception message to the controller --- environment/environmentexception.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'environment') diff --git a/environment/environmentexception.php b/environment/environmentexception.php index 914323fe..0f585101 100644 --- a/environment/environmentexception.php +++ b/environment/environmentexception.php @@ -24,5 +24,7 @@ class EnvironmentException extends Exception { * * @param string $msg the message contained in the exception */ - public function __construct($msg) {} + public function __construct($msg) { + parent::__construct($msg); + } } -- cgit v1.2.3