log where a resource was not found
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
parent
528a903a7b
commit
6b71dd11b7
|
@ -84,7 +84,7 @@ abstract class ResourceLocator {
|
||||||
$this->doFindTheme($resource);
|
$this->doFindTheme($resource);
|
||||||
} catch (ResourceNotFoundException $e) {
|
} catch (ResourceNotFoundException $e) {
|
||||||
$resourceApp = substr($resource, 0, strpos($resource, '/'));
|
$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]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue