Location: PHPKode > projects > Gallery > gallery3/modules/rest/views/error_rest.json.php
<?php defined("SYSPATH") or die("No direct script access.") ?>
<?
// Log error response to ease debugging
Kohana_Log::add("error", "Rest error details: " . print_r($e->response, 1));
?>
<?= json_encode($e->response);
Return current item: Gallery