Merge branch 'CovenantIntegrationMerge' of git.f-secure.com:C3/C3 into CovenantIntegrationMerge

dependabot/npm_and_yarn/Src/WebController/UI/websocket-extensions-0.1.4
tim.carrington 2020-01-10 11:56:13 +00:00
commit b833cda1fc
1 changed files with 1 additions and 1 deletions

View File

@ -169,7 +169,7 @@ MWR::C3::Interfaces::Connectors::Covenant::Covenant(ByteView arguments)
response = json::parse(respData.get());
}
else
throw std::exception(OBF("[Covenant] Error authenticating to web app, HTTP resp: ") + resp.status_code());
throw std::exception((OBF("[Covenant] Error authenticating to web app, HTTP resp: ") + std::to_string(resp.status_code())).c_str());
//Get the token to be used for all other requests.
if (response[OBF("success")])