diff options
| author | 2014-10-05 19:35:29 +0200 | |
|---|---|---|
| committer | 2014-10-05 19:35:29 +0200 | |
| commit | d8f4681382986524b91acb0500847e9f24badf20 (patch) | |
| tree | 588741361a54d564bcce44e239157f38527fefe4 /lib/Minz/FrontController.php | |
| parent | aa8529b2d617137cc7500742090e5bb2246b8928 (diff) | |
Replace Minz_Log::record by corresponding methods
Please not use Minz_Log::record anymore!
See https://github.com/marienfressinaud/FreshRSS/issues/655
Diffstat (limited to 'lib/Minz/FrontController.php')
| -rw-r--r-- | lib/Minz/FrontController.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Minz/FrontController.php b/lib/Minz/FrontController.php index f13882801..e95c56bf3 100644 --- a/lib/Minz/FrontController.php +++ b/lib/Minz/FrontController.php @@ -46,7 +46,7 @@ class Minz_FrontController { ); Minz_Request::forward ($url); } catch (Minz_Exception $e) { - Minz_Log::record ($e->getMessage (), Minz_Log::ERROR); + Minz_Log::error($e->getMessage()); $this->killApp ($e->getMessage ()); } @@ -85,7 +85,7 @@ class Minz_FrontController { $this->dispatcher->run(); } catch (Minz_Exception $e) { try { - Minz_Log::record ($e->getMessage (), Minz_Log::ERROR); + Minz_Log::error($e->getMessage()); } catch (Minz_PermissionDeniedException $e) { $this->killApp ($e->getMessage ()); } |
