diff --git a/src/command/CommandError.cxx b/src/command/CommandError.cxx index 9faec6893..6af81e438 100644 --- a/src/command/CommandError.cxx +++ b/src/command/CommandError.cxx @@ -152,12 +152,6 @@ PrintError(Response &r, std::exception_ptr ep) std::rethrow_exception(ep); } catch (const std::exception &e) { LogError(e); - } catch (...) { - } - - try { - std::rethrow_exception(ep); - } catch (const std::exception &e) { r.Error(ToAck(ep), e.what()); } catch (...) { r.Error(ACK_ERROR_UNKNOWN, "Unknown error");