Log invalid settings class

Signed-off-by: Robin Appelman <robin@icewind.nl>
pull/12455/head
Robin Appelman 7 years ago
parent fef51895c2
commit 2482e8ee34
No known key found for this signature in database
GPG Key ID: 42B69D8A64526EFB
  1. 2
      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;
}

Loading…
Cancel
Save