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

github.com/nextcloud/gallery.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorOlivier Paroz <github@oparoz.com>2015-09-11 03:42:34 +0300
committerOlivier Paroz <github@oparoz.com>2015-09-11 03:42:34 +0300
commite39947824aba282e9ffb56c002075c38f2488d51 (patch)
treef9e707c1e4f533633f797c5b4db91d8db53b178c /config
parentb57bda0f027c3208adfcd8eaeba655b0cb9d9438 (diff)
Fix exception logging message
Diffstat (limited to 'config')
-rw-r--r--config/configexception.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/configexception.php b/config/configexception.php
index d421f70f..e20f64d0 100644
--- a/config/configexception.php
+++ b/config/configexception.php
@@ -12,6 +12,8 @@
namespace OCA\Gallery\Config;
+use OCP\Util;
+
/**
* Thrown when the configuration parser cannot parse a file
*/
@@ -23,6 +25,7 @@ class ConfigException extends \Exception {
* @param string $msg the message contained in the exception
*/
public function __construct($msg) {
+ Util::writeLog('gallery', 'Exception: ' . $msg, Util::ERROR);
parent::__construct($msg);
}
}