mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-20 11:10:00 +00:00
improved logging in case of exceptions during initial load
This commit is contained in:
1 parent
15dd57ee47
commit
1b048d23e0
1 file changed
+6
-1
+6
-1
@@ -514,7 +514,12 @@ public class ReplicationServiceImpl implements ReplicationService {
|
||||
final GZIPInputStream gzipInputStream = new GZIPInputStream(rabbitInputStreamProvider.getInputStream());
|
||||
for (Replicable<?, ?> replicable : getReplicables()) {
|
||||
logger.info("Starting to receive initial load for "+replicable.getId());
|
||||
replicable.initiallyFillFrom(gzipInputStream);
|
||||
try {
|
||||
replicable.initiallyFillFrom(gzipInputStream);
|
||||
} catch (Exception e) {
|
||||
logger.log(Level.SEVERE, "Exception trying to reveice initial load for "+replicable.getId(), e);
|
||||
throw e;
|
||||
}
|
||||
logger.info("Done receiving initial load for "+replicable.getId());
|
||||
}
|
||||
logger.info("Resuming replicator to apply queues");
|
||||
|
||||
Reference in new issue
Block a user