shortened logging
This commit is contained in:
parent
dced49c425
commit
d409af2876
airtime_mvc/application/controllers
|
@ -63,7 +63,8 @@ class PlaylistController extends Zend_Controller_Action
|
||||||
unset($this->view->obj);
|
unset($this->view->obj);
|
||||||
}
|
}
|
||||||
|
|
||||||
private function createFullResponse($obj = null, $isJson = false, $formIsValid = false)
|
private function createFullResponse($obj = null, $isJson = false,
|
||||||
|
$formIsValid = false)
|
||||||
{
|
{
|
||||||
$isBlock = false;
|
$isBlock = false;
|
||||||
$viewPath = 'playlist/playlist.phtml';
|
$viewPath = 'playlist/playlist.phtml';
|
||||||
|
@ -141,10 +142,7 @@ class PlaylistController extends Zend_Controller_Action
|
||||||
private function playlistUnknownError($e)
|
private function playlistUnknownError($e)
|
||||||
{
|
{
|
||||||
$this->view->error = "Something went wrong.";
|
$this->view->error = "Something went wrong.";
|
||||||
|
Logging::info($e->getMessage());
|
||||||
Logging::info("{$e->getFile()}");
|
|
||||||
Logging::info("{$e->getLine()}");
|
|
||||||
Logging::info("{$e->getMessage()}");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private function wrongTypeToBlock($obj)
|
private function wrongTypeToBlock($obj)
|
||||||
|
|
Loading…
Reference in New Issue