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