Skip to content

Commit

Permalink
minor logging changes
Browse files Browse the repository at this point in the history
  • Loading branch information
bdevetak committed Mar 21, 2018
1 parent 44e6932 commit 11c5629
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.booking</groupId>
<artifactId>mysql-replicator</artifactId>
<version>0.14.4-rc2</version>
<version>0.14.4_02</version>
<packaging>jar</packaging>

<name>mysql-replicator</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ public synchronized void updateTaskStatuses() throws ApplierException {
} catch (ExecutionException ex) {
LOGGER.error(String.format("Future failed for task %s, with exception: %s",
submittedTaskUuid,
ex.getCause()));
ex));
requeueTask(submittedTaskUuid);
applierTasksFailedCounter.inc();
} catch (NullPointerException e) {
Expand All @@ -532,12 +532,6 @@ public synchronized void updateTaskStatuses() throws ApplierException {
+ "will be retired later by another future.", submittedTaskUuid), ei);
requeueTask(submittedTaskUuid);
applierTasksFailedCounter.inc();
} catch (CancellationException ce) {
LOGGER.error(String.format("Future failed for task %s, with exception: %s",
submittedTaskUuid ,
ce));
requeueTask(submittedTaskUuid);
applierTasksFailedCounter.inc();
} catch (TaskAccountingException e) {
LOGGER.error("FATAL: Task accounting exception", e);
throw new ApplierException("Task accounting exception.");
Expand Down

0 comments on commit 11c5629

Please sign in to comment.