Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Smjert committed Oct 19, 2024
1 parent 376fecd commit ffe468c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions osquery/remote/tests/test_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,11 @@ bool TLSServerRunner::start(const std::string& server_cert,
// in establishing a correct TLS connection,
// but we assume that if it's not a connection timeout (TCP),
// then the server is ready enough.

if (!status.ok()) {
LOG(WARNING) << "Failed to ping: " << status.getMessage();
}

if (!status.ok() &&
status.getMessage().find("timeout") != std::string::npos) {
LOG(WARNING) << "Python HTTP Server not ready yet";
Expand Down

0 comments on commit ffe468c

Please sign in to comment.