Skip to content

Commit bbf77d0

Browse files
removed extra if condition
1 parent 8dffdf0 commit bbf77d0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/SnapshotCheckProcess.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,8 +260,8 @@ private void reduceCustomHandlersResults(
260260
fut.onDone(new SnapshotPartitionsVerifyTaskResult(ctx.clusterMetas, null));
261261
}
262262
catch (Throwable err) {
263-
if (err instanceof Exception)
264-
log.warning("The snapshot operation will be aborted due to a handler error [snapshot=" + ctx.req.snapshotName() + "].", err);
263+
log.warning("The snapshot operation will be aborted due to a handler error " +
264+
"[snapshot=" + ctx.req.snapshotName() + "].", err);
265265

266266
fut.onDone(err);
267267
}

0 commit comments

Comments
 (0)