Remove redundant exception handling in sendMessageToConnection method to streamline error logging and improve code clarity.
This commit is contained in:
committed by
Torsten (PC)
parent
d71df901ed
commit
7a2749c405
@@ -921,8 +921,6 @@ void WebSocketServer::sendMessageToConnection(struct lws *wsi, WebSocketUserData
|
|||||||
std::cerr << "[sendMessageToConnection] Fehler: " << e.what() << std::endl;
|
std::cerr << "[sendMessageToConnection] Fehler: " << e.what() << std::endl;
|
||||||
} catch (...) {
|
} catch (...) {
|
||||||
std::cerr << "[sendMessageToConnection] Unbekannter Fehler" << std::endl;
|
std::cerr << "[sendMessageToConnection] Unbekannter Fehler" << std::endl;
|
||||||
} catch (...) {
|
|
||||||
std::cerr << "[sendMessageToConnection] Unbekannter Fehler" << std::endl;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user