Skip to content

Commit

Permalink
OrcLib: BITSAgent: set expected failure log to debug
Browse files Browse the repository at this point in the history
  • Loading branch information
fabienfl-orc committed Nov 9, 2020
1 parent 95721fb commit e22343a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/OrcLib/BITSAgent.cpp
Expand Up @@ -483,7 +483,7 @@ HRESULT BITSAgent::CheckFileUploadOverHttp(const std::wstring& strRemoteName, PD
if (!WinHttpReceiveResponse(hRequest, NULL))
{
hr = HRESULT_FROM_WIN32(GetLastError());
Log::Error(L"Failed to receive response to {}/{} [{}]", m_config.ServerName, strRemotePath, SystemError(hr));
Log::Debug(L"Failed to receive response to {}/{} [{}]", m_config.ServerName, strRemotePath, SystemError(hr));
return hr;
}

Expand Down Expand Up @@ -551,7 +551,7 @@ HRESULT BITSAgent::CheckFileUploadOverHttp(const std::wstring& strRemoteName, PD
if (!WinHttpReceiveResponse(hRequest, NULL))
{
hr = HRESULT_FROM_WIN32(GetLastError());
Log::Error(
Log::Debug(
L"Failed to receive response to {}/{} [{}]", m_config.ServerName, strRemotePath, SystemError(hr));
return hr;
}
Expand Down

0 comments on commit e22343a

Please sign in to comment.