Skip to content

Commit

Permalink
Encrypt token when displayed
Browse files Browse the repository at this point in the history
  • Loading branch information
Hind-M committed Dec 12, 2024
1 parent 6b84793 commit 0c63cb9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions libmamba/src/core/package_fetcher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ namespace mamba
{
caches.clear_query_cache(m_package_info);
// need to download this file
LOG_DEBUG << "Adding '" << name() << "' to download targets from '" << channel()
<< "/" << url_path() << "'";
LOG_DEBUG << "Adding '" << name() << "' to download targets from '"
<< hide_secrets(channel()) << "/" << url_path() << "'";
m_tarball_path = m_cache_path / filename();
m_needs_extract = true;
m_needs_download = true;
Expand Down
2 changes: 1 addition & 1 deletion libmamba/src/download/downloader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -753,7 +753,7 @@ namespace mamba::download
{
Error error;
error.message = std::string("Could not find mirrors for channel ")
+ p_initial_request->mirror_name;
+ hide_secrets(p_initial_request->mirror_name);
m_attempt_results.push_back(tl::unexpected(std::move(error)));
}
}
Expand Down

0 comments on commit 0c63cb9

Please sign in to comment.