diff --git a/src/STEPToXSection.cpp b/src/STEPToXSection.cpp index b3481f8..beb104d 100644 --- a/src/STEPToXSection.cpp +++ b/src/STEPToXSection.cpp @@ -782,11 +782,11 @@ int main(int argc, char* argv[]) { return EXIT_SUCCESS; } catch (const std::exception& ex) { - std::cout << ex.what() << std::endl;; + std::cerr << ex.what() << std::endl; return EXIT_FAILURE; } catch (...) { - std::cout << "Unexpected exception" << std::endl; + std::cerr << "Unexpected exception" << std::endl; return EXIT_FAILURE; } }