summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/Client/CommandParser.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Client/CommandParser.cpp b/src/Client/CommandParser.cpp
index ab1165b..3cb5749 100644
--- a/src/Client/CommandParser.cpp
+++ b/src/Client/CommandParser.cpp
@@ -203,8 +203,7 @@ void CommandParser::daemonStatusRequestFinished(const Net::Packets::HostStatusPa
}
void CommandParser::errorCallback(const Common::Exception &exception) {
- std::cerr << "An error occurred during your request." << std::endl;
- std::cerr << "Error code: " << exception.getErrorCode() << std::endl << std::endl;
+ std::cerr << "An error occurred during your request: " << exception.strerror() << "." << std::endl << std::endl;
requestFinished();
}