summaryrefslogtreecommitdiff
path: root/src/envmodule.cpp
diff options
context:
space:
mode:
authorForest <foresto@users.noreply.github.com>2021-04-05 23:10:54 -0700
committerGitHub <noreply@github.com>2021-04-05 23:10:54 -0700
commit3ee25985334dda432ec4775cba44239f398455e9 (patch)
tree9bbc246ea7e7d4918bf227c5be04e20c3f3019e8 /src/envmodule.cpp
parent88ee41ae85fa22f53a963a4ea950b91f1a7e7c73 (diff)
Reduce log level of harmless failures
These two messages (along with their glaring red X icons) are cluttering up the log on linux/wine systems, misleading people who are trying to diagnose real problems. Let's reduce their log priority to make it clear that they're harmless. As mentioned here: https://github.com/ModOrganizer2/modorganizer/issues/372#issuecomment-575231673
Diffstat (limited to 'src/envmodule.cpp')
-rw-r--r--src/envmodule.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/envmodule.cpp b/src/envmodule.cpp
index dc6608d7..5b1e7621 100644
--- a/src/envmodule.cpp
+++ b/src/envmodule.cpp
@@ -130,7 +130,7 @@ Module::FileInfo Module::getFileInfo() const
return {};
}
- log::error(
+ log::debug(
"GetFileVersionInfoSizeW() failed on '{}', {}",
m_path, formatSystemMessage(e));
@@ -268,7 +268,7 @@ QDateTime Module::getTimestamp(const VS_FIXEDFILEINFO& fi) const
if (h.get() == INVALID_HANDLE_VALUE) {
const auto e = GetLastError();
- log::error(
+ log::debug(
"can't open file '{}' for timestamp, {}",
m_path, formatSystemMessage(e));