mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-08-30 13:26:58 +00:00
FIX: [STUDIO-4522] hide passwd of media url from log
Change-Id: Ib4da577ea39cca9fb34d920101a81f1708a6934e Jira: STUDIO-4522
This commit is contained in:
@@ -1217,6 +1217,10 @@ void PrinterFileSystem::HandleResponse(boost::unique_lock<boost::mutex> &l, Bamb
|
||||
}
|
||||
}
|
||||
|
||||
namespace Slic3r { namespace GUI {
|
||||
extern wxString hide_passwd(wxString url, std::vector<std::string> const &passwords);
|
||||
}}
|
||||
|
||||
void PrinterFileSystem::Reconnect(boost::unique_lock<boost::mutex> &l, int result)
|
||||
{
|
||||
if (m_session.tunnel) {
|
||||
@@ -1258,7 +1262,7 @@ void PrinterFileSystem::Reconnect(boost::unique_lock<boost::mutex> &l, int resul
|
||||
wxLogMessage("PrinterFileSystem::Reconnect Initialize failed: %s", wxString::FromUTF8(url));
|
||||
m_last_error = atoi(url.c_str());
|
||||
} else {
|
||||
wxLogMessage("PrinterFileSystem::Reconnect Initialized: %s", wxString::FromUTF8(url));
|
||||
wxLogMessage("PrinterFileSystem::Reconnect Initialized: %s", Slic3r::GUI::hide_passwd(wxString::FromUTF8(url), {"authkey=", "passwd="}));
|
||||
l.unlock();
|
||||
m_status = Status::Connecting;
|
||||
wxLogMessage("PrinterFileSystem::Reconnect Connecting");
|
||||
|
||||
Reference in New Issue
Block a user