Skip to content

Commit

Permalink
[WFCORE-6476-fix]: Reducing logging level for failed internal read-on…
Browse files Browse the repository at this point in the history
…ly operation steps.

 * Fixing missing case

Signed-off-by: Emmanuel Hugonnet <ehugonne@redhat.com>
  • Loading branch information
ehsavoie committed Oct 20, 2023
1 parent 9f08498 commit 523c02f
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1072,7 +1072,11 @@ private void executeStep(final Step step) {
}
} catch (Throwable t) {
// Handling for throwables that don't implement OperationClientException marker interface
MGMT_OP_LOGGER.operationFailed(t, step.operation.get(OP), step.operation.get(OP_ADDR));
if (!step.requiresDoneStage && !isExternalClient()) {
logStepFailure(step, false);
} else {
MGMT_OP_LOGGER.operationFailed(t, step.operation.get(OP), step.operation.get(OP_ADDR));
}

// Provide a failure description if there isn't one already
if (!step.hasFailed()) {
Expand Down

0 comments on commit 523c02f

Please sign in to comment.