Skip to content
Snippets Groups Projects
Commit 82af1038 authored by Jan Trávníček's avatar Jan Trávníček
Browse files

fix printing common exception

parent fac7b319
Branches
Tags
1 merge request!78Merge jt
...@@ -51,7 +51,7 @@ const std::string & CommonException::getCommand ( ) const { ...@@ -51,7 +51,7 @@ const std::string & CommonException::getCommand ( ) const {
} }
   
std::ostream & operator << ( std::ostream & os, const CommonException & data ) { 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 { CommonException::operator std::string ( ) const {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment