We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a5f4ecc commit 8976c54Copy full SHA for 8976c54
src/main/java/de/komoot/photon/elasticsearch/Replicatior.java
@@ -74,7 +74,7 @@ public void start() {
74
/**
75
* Read the local and remote state file and then download any missing replication files
76
*
77
- * FIXME: should likely throw and exception if the difference between sequence numbers is very large
+ * FIXME: should likely throw an exception if the difference between sequence numbers is very large
78
79
*/
80
class ReplicationTask extends TimerTask {
@@ -132,8 +132,7 @@ public void run() {
132
log.info(String.format("Update done. %d deletions %d updates or additions.", deletions, updates));
133
}
134
} catch (IOException e) {
135
- log.error("Replicator failing", e);
136
- cancel();
+ log.error("Replicator failing because ", e);
137
138
139
0 commit comments