From d0fb2b0b4d2ab5a6adfacb4717c9403a0e6c817d Mon Sep 17 00:00:00 2001 From: Stephen Webb Date: Sat, 3 Aug 2024 16:05:04 +1000 Subject: [PATCH] Rollback unnecessary exception handler --- src/main/cpp/rollingfileappender.cpp | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/src/main/cpp/rollingfileappender.cpp b/src/main/cpp/rollingfileappender.cpp index 04ce61755..d5ee979ef 100644 --- a/src/main/cpp/rollingfileappender.cpp +++ b/src/main/cpp/rollingfileappender.cpp @@ -433,18 +433,7 @@ bool RollingFileAppender::rolloverInternal(Pool& p) if (asyncAction != NULL) { - try - { - asyncAction->execute(p); - } - catch (std::exception& ex) - { - LOG4CXX_DECODE_CHAR(lsMsg, ex.what()); - lsMsg.append(LOG4CXX_STR("- during rollover of [")); - lsMsg.append(getFile()); - lsMsg.append(LOG4CXX_STR("]")); - _priv->errorHandler->error(lsMsg, ex, 0); - } + asyncAction->execute(p); } }