in server/src/main/java/jetbrains/buildServer/torrent/ServerTrackerClientFactory.java [52:60]
protected void multiAnnounce(AnnounceRequestMessage.RequestEvent event, boolean inhibitEvent, List<? extends AnnounceableInformation> torrents, List<Peer> addresses) throws AnnounceException, ConnectException {
try {
ReadOnlyRestrictor.doReadOnlyNetworkOperation(() -> ReadOnlyHttpClient.super.multiAnnounce(event, inhibitEvent, torrents, addresses));
} catch (AnnounceException | ConnectException e) {
throw e;
} catch (Exception e) {
throw new AnnounceException(e);
}
}