Merge pull request #10079 from owncloud/Improve_scanner_message
Improved scanner error message
This commit is contained in:
commit
520f6422ac
|
@ -67,7 +67,7 @@ class Scanner extends BasicEmitter {
|
||||||
public function getData($path) {
|
public function getData($path) {
|
||||||
if (!$this->storage->isReadable($path)) {
|
if (!$this->storage->isReadable($path)) {
|
||||||
//cant read, nothing we can do
|
//cant read, nothing we can do
|
||||||
\OCP\Util::writeLog('OC\Files\Cache\Scanner', "!!! Path '$path' is not readable !!!", \OCP\Util::DEBUG);
|
\OCP\Util::writeLog('OC\Files\Cache\Scanner', "!!! Path '$path' is not accessible or present !!!", \OCP\Util::DEBUG);
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
$data = array();
|
$data = array();
|
||||||
|
|
Loading…
Reference in New Issue