From 82af10385611a4440cb61e0a673ebf783fc70743 Mon Sep 17 00:00:00 2001 From: Jan Travnicek <Jan.Travnicek@fit.cvut.cz> Date: Thu, 28 Mar 2019 19:41:28 +0100 Subject: [PATCH] fix printing common exception --- alib2common/src/exception/CommonException.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alib2common/src/exception/CommonException.cpp b/alib2common/src/exception/CommonException.cpp index 7e59431d48..fe6d86a068 100644 --- a/alib2common/src/exception/CommonException.cpp +++ b/alib2common/src/exception/CommonException.cpp @@ -51,7 +51,7 @@ const std::string & CommonException::getCommand ( ) const { } std::ostream & operator << ( std::ostream & os, const CommonException & data ) { - return os << data.what ( ) << data.getBacktrace ( ) << data.getCommand ( ); + return os << data.what ( ) << std::endl << data.getBacktrace ( ) << std::endl << data.getCommand ( ); } CommonException::operator std::string ( ) const { -- GitLab