Skip to content
This repository was archived by the owner on Aug 30, 2022. It is now read-only.

Commit ab6e3a6

Browse files
authored
Fix bad constructor in UDP transport test (#88)
Signed-off-by: Isaac Hier <[email protected]>
1 parent a6a313d commit ab6e3a6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/jaegertracing/UDPTransportTest.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ class MockUDPClient : public utils::UDPClient {
4242
{
4343
switch (_type) {
4444
case ExceptionType::kSystemError:
45-
throw std::system_error();
45+
throw std::system_error(
46+
std::make_error_code(std::errc::invalid_argument));
4647
case ExceptionType::kException:
4748
throw std::exception();
4849
default:

0 commit comments

Comments
 (0)