Edit text in server cerr part
This commit is contained in:
@@ -25,7 +25,7 @@ int main(int argc, char **argv) {
|
|||||||
Server server(host, port, service_mode);
|
Server server(host, port, service_mode);
|
||||||
server.start();
|
server.start();
|
||||||
} catch (const std::runtime_error& e){
|
} catch (const std::runtime_error& e){
|
||||||
std::cerr << "Client application error: " << e.what() << std::endl;
|
std::cerr << "Server application error: " << e.what() << std::endl;
|
||||||
return 1;
|
return 1;
|
||||||
} catch (...){
|
} catch (...){
|
||||||
std::cerr << "Unexpected error in client application" << std::endl;
|
std::cerr << "Unexpected error in client application" << std::endl;
|
||||||
|
|||||||
Reference in New Issue
Block a user