[fix] restrict sensitive information in release logs

This commit is contained in:
dijunkun committed 2026-11-11 02:13:59 +08:00
1 parent 67afb25c75
commit 6a8e79d4a9
19 files changed
+87 -91

No files matched your search

@@ -60,8 +60,7 @@ bool RestrictCachePermissions(const std::filesystem::path &path,
close(fd);
}
if (error) {
LOG_WARN("Cannot restrict credential cache permissions for {}: {}",
path.string(),
LOG_WARN("Cannot restrict credential cache permissions: {}",
std::error_code(error, std::generic_category()).message());
}
return error == 0;