diff --git a/src/util/Exception.hxx b/src/util/Exception.hxx index f36f59f5c..390f5763f 100644 --- a/src/util/Exception.hxx +++ b/src/util/Exception.hxx @@ -95,12 +95,6 @@ FindRetrowNested(std::exception_ptr ep) std::rethrow_exception(ep); } catch (const T &t) { throw; - } catch (const std::exception &e) { - try { - std::rethrow_if_nested(e); - } catch (...) { - FindRetrowNested(std::current_exception()); - } } catch (const std::nested_exception &ne) { FindRetrowNested(ne.nested_ptr()); } catch (...) {