Commit 6515b972 authored by Max Kellermann's avatar Max Kellermann

util/Exception: catch std::nested_exception

parent 4af8e5bd
...@@ -44,6 +44,8 @@ GetFullMessage(std::exception_ptr ep, ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment