summaryrefslogtreecommitdiffstats
path: root/public_html/api
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-02-16 15:39:32 +0100
committerAleksander Machniak <alec@alec.pl>2012-02-16 15:39:32 +0100
commit4a13324b0700b726d45e0fe7c5ebb422b7ba260e (patch)
treeb133dc86dafceb8ee4c4f7f8151d4687c9c76652 /public_html/api
parent35c5e66a31e20081becd9c949d3d9ed9b5b325a5 (diff)
downloadwebadmin-4a13324b0700b726d45e0fe7c5ebb422b7ba260e.tar.gz
Added smart form elements
Diffstat (limited to 'public_html/api')
-rw-r--r--public_html/api/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/public_html/api/index.php b/public_html/api/index.php
index 0760e9e..af7e474 100644
--- a/public_html/api/index.php
+++ b/public_html/api/index.php
@@ -9,7 +9,7 @@ try {
$postdata = $_SERVER['REQUEST_METHOD'] == 'POST' ? file_get_contents('php://input') : null;
$controller->dispatch($postdata);
} catch(Exception $e) {
- error_log($e->getMessage());
+ error_log('API Error: ' . $e->getMessage());
$controller->output->error($e->getMessage(), $e->getCode());
}