summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRazvan Becheriu <razvan@isc.org>2021-06-09 21:24:52 +0200
committerRazvan Becheriu <razvan@isc.org>2021-06-09 21:24:52 +0200
commit50f0d8c558fe977f29bf80a946271f4bbf319382 (patch)
tree1b89b4a0da1feaa901fcb92d332e230ce9777138
parent[#1907] addressed comments (diff)
downloadkea-50f0d8c558fe977f29bf80a946271f4bbf319382.tar.xz
kea-50f0d8c558fe977f29bf80a946271f4bbf319382.zip
[#1907] addressed comments
-rw-r--r--src/bin/agent/main.cc2
-rw-r--r--src/bin/d2/main.cc2
-rw-r--r--src/bin/dhcp4/main.cc2
-rw-r--r--src/bin/dhcp6/main.cc2
-rw-r--r--src/bin/lfc/main.cc2
-rw-r--r--src/bin/netconf/main.cc2
-rw-r--r--src/bin/perfdhcp/main.cc4
-rw-r--r--src/lib/log/compiler/message.cc2
8 files changed, 9 insertions, 9 deletions
diff --git a/src/bin/agent/main.cc b/src/bin/agent/main.cc
index a02f749b38..d4b7d8a24a 100644
--- a/src/bin/agent/main.cc
+++ b/src/bin/agent/main.cc
@@ -39,7 +39,7 @@ int main(int argc, char* argv[]) {
std::cerr << "Service failed: " << ex.what() << std::endl;
ret = EXIT_FAILURE;
} catch (...) {
- std::cerr << "Service failed: Unknown error" << std::endl;
+ std::cerr << "Service failed" << std::endl;
ret = EXIT_FAILURE;
}
diff --git a/src/bin/d2/main.cc b/src/bin/d2/main.cc
index 4c7b317659..be53139ce7 100644
--- a/src/bin/d2/main.cc
+++ b/src/bin/d2/main.cc
@@ -48,7 +48,7 @@ int main(int argc, char* argv[]) {
std::cerr << "Service failed: " << ex.what() << std::endl;
ret = EXIT_FAILURE;
} catch (...) {
- std::cerr << "Service failed: Unknown error" << std::endl;
+ std::cerr << "Service failed" << std::endl;
ret = EXIT_FAILURE;
}
diff --git a/src/bin/dhcp4/main.cc b/src/bin/dhcp4/main.cc
index c23bd1c6ff..c70dcf6203 100644
--- a/src/bin/dhcp4/main.cc
+++ b/src/bin/dhcp4/main.cc
@@ -293,7 +293,7 @@ main(int argc, char* argv[]) {
}
ret = EXIT_FAILURE;
} catch (...) {
- cerr << DHCP4_NAME << ": Fatal error during start up: Unknown error"
+ cerr << DHCP4_NAME << ": Fatal error during start up"
<< endl;
ret = EXIT_FAILURE;
}
diff --git a/src/bin/dhcp6/main.cc b/src/bin/dhcp6/main.cc
index 6ca6301a9c..eca4ceb766 100644
--- a/src/bin/dhcp6/main.cc
+++ b/src/bin/dhcp6/main.cc
@@ -293,7 +293,7 @@ main(int argc, char* argv[]) {
}
ret = EXIT_FAILURE;
} catch (...) {
- cerr << DHCP6_NAME << ": Fatal error during start up: Unknown error"
+ cerr << DHCP6_NAME << ": Fatal error during start up"
<< endl;
ret = EXIT_FAILURE;
}
diff --git a/src/bin/lfc/main.cc b/src/bin/lfc/main.cc
index 5ded1b4f60..d0432c4814 100644
--- a/src/bin/lfc/main.cc
+++ b/src/bin/lfc/main.cc
@@ -48,7 +48,7 @@ int main(int argc, char* argv[]) {
std::cerr << "Service failed: " << ex.what() << std::endl;
ret = EXIT_FAILURE;
} catch (...) {
- std::cerr << "Service failed: Unknown error" << std::endl;
+ std::cerr << "Service failed" << std::endl;
ret = EXIT_FAILURE;
}
diff --git a/src/bin/netconf/main.cc b/src/bin/netconf/main.cc
index 0641779934..77c2840aad 100644
--- a/src/bin/netconf/main.cc
+++ b/src/bin/netconf/main.cc
@@ -39,7 +39,7 @@ int main(int argc, char* argv[]) {
std::cerr << "Service failed: " << ex.what() << std::endl;
ret = EXIT_FAILURE;
} catch (...) {
- std::cerr << "Service failed: Unknown error" << std::endl;
+ std::cerr << "Service failed" << std::endl;
ret = EXIT_FAILURE;
}
diff --git a/src/bin/perfdhcp/main.cc b/src/bin/perfdhcp/main.cc
index 0475fff143..27fc633223 100644
--- a/src/bin/perfdhcp/main.cc
+++ b/src/bin/perfdhcp/main.cc
@@ -61,11 +61,11 @@ main(int argc, char* argv[]) {
} catch (...) {
ret_code = 1;
if (!parser_error) {
- std::cerr << std::endl << "ERROR: running perfdhcp: Unknown error"
+ std::cerr << std::endl << "ERROR: running perfdhcp"
<< std::endl;
} else {
CommandOptions::usage();
- std::cerr << std::endl << "ERROR: parsing command line options: Unknown error"
+ std::cerr << std::endl << "ERROR: parsing command line options"
<< std::endl;
}
if (diags.find('e') != std::string::npos) {
diff --git a/src/lib/log/compiler/message.cc b/src/lib/log/compiler/message.cc
index 0359cde86e..8f19c5a3a6 100644
--- a/src/lib/log/compiler/message.cc
+++ b/src/lib/log/compiler/message.cc
@@ -534,7 +534,7 @@ main(int argc, char* argv[]) {
return (1);
} catch (...) {
- cerr << "Fatal error: Unknown error\n";
+ cerr << "Fatal error\n";
return (1);
}