From 2482e8ee3429ebca2baf49c69929983a2c578736 Mon Sep 17 00:00:00 2001
From: Robin Appelman <robin@icewind.nl>
Date: Wed, 14 Nov 2018 18:04:52 +0100
Subject: [PATCH] Log invalid settings class

Signed-off-by: Robin Appelman <robin@icewind.nl>
---
 lib/private/Settings/Manager.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/private/Settings/Manager.php b/lib/private/Settings/Manager.php
index 036f1ed594f..42ec16e223b 100644
--- a/lib/private/Settings/Manager.php
+++ b/lib/private/Settings/Manager.php
@@ -167,7 +167,7 @@ class Manager implements IManager {
 			}
 
 			if (!$setting instanceof ISettings) {
-				$this->log->logException(new \InvalidArgumentException('Invalid settings setting registered'), ['level' => ILogger::INFO]);
+				$this->log->logException(new \InvalidArgumentException('Invalid settings setting registered (' . $class . ')'), ['level' => ILogger::INFO]);
 				continue;
 			}
 
-- 
GitLab