util/Exception: catch std::nested_exception
This commit is contained in:
parent
4af8e5bdb5
commit
6515b9727d
@ -44,6 +44,8 @@ GetFullMessage(std::exception_ptr ep,
|
||||
GetFullMessage(std::current_exception(),
|
||||
fallback, separator);
|
||||
}
|
||||
} catch (const std::nested_exception &ne) {
|
||||
return GetFullMessage(ne.nested_ptr(), fallback, separator);
|
||||
}
|
||||
|
||||
return fallback;
|
||||
|
Loading…
x
Reference in New Issue
Block a user