Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkondou <kondou@ts.unde.re>2013-08-09 20:01:49 +0400
committerkondou <kondou@ts.unde.re>2013-08-09 20:01:49 +0400
commit605050df9b42ba68b2d8c34a4075a5af4ebd312c (patch)
treec0a15612fc7c7bb65a90f1c4dedf30d85d4d3f5f /settings/ajax
parent1a4465f41d3fe334f42782545e3130a19796e590 (diff)
Log exception at the catching code
Diffstat (limited to 'settings/ajax')
-rw-r--r--settings/ajax/enableapp.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/settings/ajax/enableapp.php b/settings/ajax/enableapp.php
index 0784736a655..735794360b3 100644
--- a/settings/ajax/enableapp.php
+++ b/settings/ajax/enableapp.php
@@ -7,5 +7,6 @@ try {
OC_App::enable(OC_App::cleanAppId($_POST['appid']));
OC_JSON::success();
} catch (Exception $e) {
+ OC_Log::write('core', $e->getMessage(), OC_Log::ERROR);
OC_JSON::error(array("data" => array("message" => $e->getMessage()) ));
}