mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-15 03:55:46 -07:00
logs: Add file path to asset ERR log (#7336)
This commit is contained in:
@@ -2690,7 +2690,7 @@ void CHyprOpenGLImpl::createBGTextureForMonitor(CMonitor* pMonitor) {
|
|||||||
// check if wallpapers exist
|
// check if wallpapers exist
|
||||||
std::error_code err;
|
std::error_code err;
|
||||||
if (!std::filesystem::exists(texPath, err)) {
|
if (!std::filesystem::exists(texPath, err)) {
|
||||||
Debug::log(ERR, "createBGTextureForMonitor: failed, file doesn't exist or access denied, ec: {}", err.message());
|
Debug::log(ERR, "createBGTextureForMonitor: failed, file \"{}\" doesn't exist or access denied, ec: {}", texPath, err.message());
|
||||||
return; // the texture will be empty, oh well. We'll clear with a solid color anyways.
|
return; // the texture will be empty, oh well. We'll clear with a solid color anyways.
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user