Commit 440de4b9 authored by Emmanuel Promayon's avatar Emmanuel Promayon
Browse files

FIXED error message

parent 00331914
......@@ -81,7 +81,7 @@ int main(int argc, char** argv) {
return EXIT_FAILURE;
}
catch (const std::exception& e) {
std::cout << argv[0] << " aborted..." << std::endl << "std AbortException:" << std::endl << e.what() << std::endl;
std::cout << argv[0] << " aborted..." << std::endl << "std exception:" << std::endl << e.what() << std::endl;
return EXIT_FAILURE;
}
catch (...) {
......
......@@ -130,7 +130,7 @@ int main(int argc, char* argv[]) {
}
catch (const std::exception& e) {
//QMessageBox::warning(NULL, QString(argv[0]) + " aborted...", "AbortException:" + QString(e.what()));
std::cout << argv[0] << " aborted..." << std::endl << "std AbortException:" << std::endl << e.what() << std::endl;
std::cout << argv[0] << " aborted..." << std::endl << "std exception:" << std::endl << e.what() << std::endl;
return EXIT_FAILURE;
}
catch (...) {
......
......@@ -82,7 +82,7 @@ int main(int argc, char* argv[]) {
return EXIT_FAILURE;
}
catch (const std::exception& e) {
std::cout << argv[0] << " aborted..." << std::endl << "std AbortException:" << std::endl << e.what() << std::endl;
std::cout << argv[0] << " aborted..." << std::endl << "std exception:" << std::endl << e.what() << std::endl;
return EXIT_FAILURE;
}
catch (...) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment