From 2dc0c76ac61f1067e51a9132245c4180fccea641 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konrad=20G=C4=85dek?= Date: Sun, 17 Apr 2022 00:44:39 +0200 Subject: [PATCH] Reformat error msg --- mst.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mst.cxx b/mst.cxx index 60de093..da389d1 100644 --- a/mst.cxx +++ b/mst.cxx @@ -56,11 +56,10 @@ int main(int argc, char* argv[]) { cout << mstch::render(template_content, ctx); return 0; } catch (...) { - cerr << "Invocation:\n" << endl; + cerr << boost::current_exception_diagnostic_information() << endl << "Invocation:\n"; for (int i = 0; i < argc; ++i) { cerr << " '" << argv[i] << "'" << endl; } - cerr << boost::current_exception_diagnostic_information() << endl; return -1; } }