Merge pull request #3935 from nextcloud/downstream-27293

log where a resource was not found
This commit is contained in:
Morris Jobke 2017-03-20 01:31:20 -06:00 committed by GitHub
commit 55df840bd9
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ abstract class ResourceLocator {
$this->doFindTheme($resource);
} catch (ResourceNotFoundException $e) {
$resourceApp = substr($resource, 0, strpos($resource, '/'));
$this->logger->debug('Could not find resource file "' . $e->getResourcePath() . '"', ['app' => $resourceApp]);
$this->logger->debug('Could not find resource file in theme "' . $e->getResourcePath() . '"', ['app' => $resourceApp]);
}
}
}