From 82ef08ad1e7b019e897f9fb80787a36c25d339fe Mon Sep 17 00:00:00 2001 From: drigato Date: Thu, 8 May 2014 10:45:22 -0400 Subject: [PATCH] Logging statements --- .../application/modules/rest/controllers/MediaController.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/airtime_mvc/application/modules/rest/controllers/MediaController.php b/airtime_mvc/application/modules/rest/controllers/MediaController.php index 80b54b063..8f803a974 100644 --- a/airtime_mvc/application/modules/rest/controllers/MediaController.php +++ b/airtime_mvc/application/modules/rest/controllers/MediaController.php @@ -214,8 +214,9 @@ class Rest_MediaController extends Zend_Rest_Controller $requestData = json_decode($this->getRequest()->getRawBody(), true); $whiteList = $this->removeBlacklistedFieldsFromRequestData($requestData); - +Logging::info($requestData); if (!$this->validateRequestData($file, $whiteList)) { + Logging::info("Did not validate request data"); $file->save(); return; } else if ($file) {