Skip to content

Commit 05bf0b5

Browse files
committed
Merge 2 ERROR logging lines into 1
1 parent 6d343ec commit 05bf0b5

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/main/java/com/datastax/cdm/job/DiffJobSession.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,9 +151,8 @@ public void getDataAndDiff(BigInteger min, BigInteger max) {
151151
diffAndClear(recordsToDiff);
152152
done = true;
153153
} catch (Exception e) {
154-
logger.error("Error occurred during Attempt#: {}", attempts, e);
155154
logger.error("Error with PartitionRange -- ThreadID: {} Processing min: {} max: {} -- Attempt# {}",
156-
Thread.currentThread().getId(), min, max, attempts);
155+
Thread.currentThread().getId(), min, max, attempts, e);
157156
if (attempts == maxAttempts) {
158157
logFailedPartitionsInFile(partitionFile, min, max);
159158
}

0 commit comments

Comments
 (0)