Merge pull request #7766 from nextcloud/log_properly_7755
Log a missing setting as INFO not as WARNING
This commit is contained in:
commit
fe12b2b05d
|
@ -47,6 +47,7 @@ use OCP\Lock\ILockingProvider;
|
||||||
use OCP\Settings\ISettings;
|
use OCP\Settings\ISettings;
|
||||||
use OCP\Settings\IManager;
|
use OCP\Settings\IManager;
|
||||||
use OCP\Settings\ISection;
|
use OCP\Settings\ISection;
|
||||||
|
use OCP\Util;
|
||||||
|
|
||||||
class Manager implements IManager {
|
class Manager implements IManager {
|
||||||
/** @var ILogger */
|
/** @var ILogger */
|
||||||
|
@ -344,7 +345,7 @@ class Manager implements IManager {
|
||||||
try {
|
try {
|
||||||
return \OC::$server->query($className);
|
return \OC::$server->query($className);
|
||||||
} catch (QueryException $e) {
|
} catch (QueryException $e) {
|
||||||
$this->log->logException($e);
|
$this->log->logException($e, ['level' => Util::INFO]);
|
||||||
throw $e;
|
throw $e;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue