diff options
author | Olivier Paroz <github@oparoz.com> | 2015-03-14 23:56:51 +0300 |
---|---|---|
committer | Olivier Paroz <github@oparoz.com> | 2015-03-14 23:56:51 +0300 |
commit | 7221f312e59c62ef0e5a2397251305b433adfa64 (patch) | |
tree | 167b40bc0aeaba14ff1c921a6450a873bfcb11a0 /environment | |
parent | 766e0e2c8ee1a85fe502130a770107362af99e2f (diff) |
Pass environment exception message to the controller
Diffstat (limited to 'environment')
-rw-r--r-- | environment/environmentexception.php | 4 |
1 files changed, 3 insertions, 1 deletions
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); + } } |