Add exception handling in DominantPoller (#75)

This commit is contained in:
malkoas 2022-12-12 12:41:40 +03:00 committed by GitHub
parent 84c2f510fd
commit 4ab1b40bcf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,7 +35,7 @@ public class DominantPoller {
pullRange.entrySet().stream()
.sorted(Map.Entry.comparingByKey())
.forEach(e -> handleDominantData(after, versionId, e));
} catch (TException e) {
} catch (Exception e) {
log.warn("Error to polling dominant, after={}", after, e);
}
}