Edit text in server cerr part

This commit is contained in:
2025-04-30 12:24:55 +02:00
parent 062f95492a
commit be1b36e7ce

View File

@@ -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;