Skip to content

Commit

Permalink
Rollback unnecessary exception handler
Browse files Browse the repository at this point in the history
  • Loading branch information
stephen-webb committed Aug 3, 2024
1 parent 788fd7c commit d0fb2b0
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions src/main/cpp/rollingfileappender.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

Expand Down

0 comments on commit d0fb2b0

Please sign in to comment.