summaryrefslogtreecommitdiff
path: root/zen/sys_version.cpp
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2023-07-24 15:08:16 -0400
committerB. Stack <bgstack15@gmail.com>2023-07-24 15:08:16 -0400
commit69e12f5bd10459ff7c239b82519107ae2a755bc0 (patch)
tree8b22393241df7e46686c9426140582bd747a6d5a /zen/sys_version.cpp
parentadd upstream 12.4 (diff)
downloadFreeFileSync-69e12f5bd10459ff7c239b82519107ae2a755bc0.tar.gz
FreeFileSync-69e12f5bd10459ff7c239b82519107ae2a755bc0.tar.bz2
FreeFileSync-69e12f5bd10459ff7c239b82519107ae2a755bc0.zip
add upstream 12.5
Diffstat (limited to 'zen/sys_version.cpp')
-rw-r--r--zen/sys_version.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/zen/sys_version.cpp b/zen/sys_version.cpp
index e57c9b69..705fbade 100644
--- a/zen/sys_version.cpp
+++ b/zen/sys_version.cpp
@@ -89,8 +89,8 @@ OsVersion zen::getOsVersion()
}
catch (const SysError& e)
{
- std::cerr << utfTo<std::string>(e.toString()) + '\n';
- return OsVersionDetail{}; //sigh, it's a jungle out there: https://freefilesync.org/forum/viewtopic.php?t=7276
+ logExtraError(_("Cannot get process information.") + L"\n\n" + e.toString());
+ return OsVersionDetail{}; //arrgh, it's a jungle out there: https://freefilesync.org/forum/viewtopic.php?t=7276
}
}();
return verDetail.version;
bgstack15