Skip to content

Commit

Permalink
Fix reference to error code in Jaeger logging
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomsonTan committed Jul 30, 2021
1 parent 5414ebe commit a38a0ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions exporters/jaeger/src/udp_transport.cc
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ void UDPTransport::InitSocket()
int err = WSAStartup(wVersionRequested, &wsaData);
if (err != 0)
{
OTEL_INTERNAL_LOG_ERROR("Jaeger Exporter: WSAStartup failed with error: " << error);
OTEL_INTERNAL_LOG_ERROR("Jaeger Exporter: WSAStartup failed with error: " << err);
return;
}

/* Confirm that the WinSock DLL supports 2.2.*/
/* Confirm that the WinSock DLL supports 2.2. */
/* Note that if the DLL supports versions greater */
/* than 2.2 in addition to 2.2, it will still return */
/* 2.2 in wVersion since that is the version we */
Expand Down

0 comments on commit a38a0ea

Please sign in to comment.