no newline at the end of stack trace

master
Marc Wäckerlin 20 years ago
parent 98c018ab79
commit 02baca0a04
  1. 7
      mrw/autostacktracestderr.cpp

@ -9,6 +9,9 @@
@license LGPL, see file <a href="license.html">COPYING</a> @license LGPL, see file <a href="license.html">COPYING</a>
$Log$ $Log$
Revision 1.4 2004/10/13 10:41:28 marc
no newline at the end of stack trace
Revision 1.3 2004/08/28 16:21:25 marc Revision 1.3 2004/08/28 16:21:25 marc
mrw-c++-0.92 (mrw) mrw-c++-0.92 (mrw)
- new file: version.cpp - new file: version.cpp
@ -77,7 +80,7 @@ namespace mrw {
std::cerr<<"---------- Reason:"<<std::endl std::cerr<<"---------- Reason:"<<std::endl
<<x.what()<<std::endl <<x.what()<<std::endl
<<"---------- Stack:"<<std::endl <<"---------- Stack:"<<std::endl
<<x.stacktrace()<<std::endl; <<x.stacktrace();
} catch (const std::exception& x) { } catch (const std::exception& x) {
std::cerr<<"---------- Reason:"<<std::endl std::cerr<<"---------- Reason:"<<std::endl
<<x.what()<<std::endl <<x.what()<<std::endl
@ -101,7 +104,7 @@ namespace mrw {
std::cerr<<"---------- Reason:"<<std::endl std::cerr<<"---------- Reason:"<<std::endl
<<x.what()<<std::endl <<x.what()<<std::endl
<<"---------- Stack:"<<std::endl <<"---------- Stack:"<<std::endl
<<x.stacktrace()<<std::endl; <<x.stacktrace();
} catch (const std::exception& x) { } catch (const std::exception& x) {
std::cerr<<"---------- Reason:"<<std::endl std::cerr<<"---------- Reason:"<<std::endl
<<x.what()<<std::endl <<x.what()<<std::endl

Loading…
Cancel
Save