summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/rest/controllers/rest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/rest/controllers/rest.php b/modules/rest/controllers/rest.php
index 3e364bff..acc4a7df 100644
--- a/modules/rest/controllers/rest.php
+++ b/modules/rest/controllers/rest.php
@@ -91,7 +91,7 @@ class Rest_Controller extends Controller {
private function _format_exception_response($e) {
// Add this exception to the log
- Kohana_Log::add('error', Kohana_Exception::text($e));
+ Kohana_Log::add("error", Kohana_Exception::text($e));
$rest_exception = array();
if ($e instanceof ORM_Validation_Exception) {