Skip to content

Commit d0fb2b0

Browse files
committed
Rollback unnecessary exception handler
1 parent 788fd7c commit d0fb2b0

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

src/main/cpp/rollingfileappender.cpp

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -433,18 +433,7 @@ bool RollingFileAppender::rolloverInternal(Pool& p)
433433

434434
if (asyncAction != NULL)
435435
{
436-
try
437-
{
438-
asyncAction->execute(p);
439-
}
440-
catch (std::exception& ex)
441-
{
442-
LOG4CXX_DECODE_CHAR(lsMsg, ex.what());
443-
lsMsg.append(LOG4CXX_STR("- during rollover of ["));
444-
lsMsg.append(getFile());
445-
lsMsg.append(LOG4CXX_STR("]"));
446-
_priv->errorHandler->error(lsMsg, ex, 0);
447-
}
436+
asyncAction->execute(p);
448437
}
449438
}
450439

0 commit comments

Comments
 (0)