chore(library/exception): fix bad message
This commit is contained in:
parent
5e654b37d9
commit
89ccecc287
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ optional<expr> nested_exception::get_main_expr() const {
|
|||
|
||||
format nested_exception::pp(formatter const & fmt) const {
|
||||
format r = m_pp_fn(fmt);
|
||||
r += line() + format("nested exception message") + line();
|
||||
r += line() + format("nested exception message:") + line();
|
||||
if (ext_exception * ex = dynamic_cast<ext_exception *>(m_exception.get())) {
|
||||
r += ex->pp(fmt);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue