diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2020-04-17 09:30:16 -0400 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2020-04-17 09:30:16 -0400 |
| commit | d49f038d5dc813796f8ae4e6ac1631e09bf06bf3 (patch) | |
| tree | 53ff0f009348f1df6a09385551a603fdbb7acd94 /src/envmodule.cpp | |
| parent | 77d292727b06841f07b4b3bc449655faff5f5d19 (diff) | |
silenced a few annoying logs
Diffstat (limited to 'src/envmodule.cpp')
| -rw-r--r-- | src/envmodule.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/envmodule.cpp b/src/envmodule.cpp index 2ff5027d..5f2a5f5a 100644 --- a/src/envmodule.cpp +++ b/src/envmodule.cpp @@ -124,6 +124,12 @@ Module::FileInfo Module::getFileInfo() const return {}; } + if (e == ERROR_RESOURCE_DATA_NOT_FOUND) { + // not an error, no version information built into that module; + // happens often in wine + return {}; + } + log::error( "GetFileVersionInfoSizeW() failed on '{}', {}", m_path, formatSystemMessage(e)); |
