Skip to content

Commit

Permalink
Refactor Main.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
xorz57 committed Dec 3, 2023
1 parent efbc384 commit 4e65150
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ int main(int argc, char *argv[]) {
});
sockets.emplace(port, std::move(socket));
} catch (const boost::system::system_error &e) {
std::cerr << "Unknown Host" << std::endl;
std::cerr << "Error: Failed resolving " << host << "." << std::endl;
return 1;
}
}
io_service.run();
Expand Down

0 comments on commit 4e65150

Please sign in to comment.