summaryrefslogtreecommitdiffstats
path: root/src/Network.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Network.cpp')
-rw-r--r--src/Network.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Network.cpp b/src/Network.cpp
index 47ae751..62ad1f9 100644
--- a/src/Network.cpp
+++ b/src/Network.cpp
@@ -4,14 +4,14 @@ Network::Network(std::string address, unsigned short port) {
try {
socket = new Socket(address, port);
} catch (std::exception &e) {
- LOG(WARNING) << "CONNECT FAULT";
+ LOG(WARNING) << "Connection failed: " << e.what();
throw;
}
try {
stream = new StreamSocket(socket);
} catch (std::exception &e) {
- LOG(WARNING) << "NOT STREAMED";
+ LOG(WARNING) << "Stream creation failed: " << e.what();
}
}