diff options
author | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2017-08-07 17:08:15 +0200 |
---|---|---|
committer | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2017-08-07 17:08:15 +0200 |
commit | 8b275c0b0a1064a813ef14a109b64e1fce461893 (patch) | |
tree | 7bb1cc13d2eb9be2a344b4cd35f5e581df970f0d /src/Network.cpp | |
parent | 2017-08-05 (diff) | |
download | AltCraft-8b275c0b0a1064a813ef14a109b64e1fce461893.tar AltCraft-8b275c0b0a1064a813ef14a109b64e1fce461893.tar.gz AltCraft-8b275c0b0a1064a813ef14a109b64e1fce461893.tar.bz2 AltCraft-8b275c0b0a1064a813ef14a109b64e1fce461893.tar.lz AltCraft-8b275c0b0a1064a813ef14a109b64e1fce461893.tar.xz AltCraft-8b275c0b0a1064a813ef14a109b64e1fce461893.tar.zst AltCraft-8b275c0b0a1064a813ef14a109b64e1fce461893.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Network.cpp | 4 |
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(); } } |