hotfix as fetch failure

This commit is contained in:
kirill.labutin 2026-03-06 14:19:31 +03:00
parent 8672d74174
commit c1d68c0bfa
2 changed files with 2 additions and 4 deletions

View File

@ -43,8 +43,7 @@ public class HEInfoProvider implements ASInfoProvider {
return getIPv4Subnets(inputStream); return getIPv4Subnets(inputStream);
} }
} else { } else {
SystemLogger.error("Unable to get info about AS" + as, CTX); throw new RuntimeException("Unable to get info about AS" + as);
return Collections.emptyList();
} }
} }
} }

View File

@ -39,8 +39,7 @@ public class RIPEInfoProvider implements ASInfoProvider {
return getIPv4Subnets(inputStream); return getIPv4Subnets(inputStream);
} }
} else { } else {
SystemLogger.error("Unable to get info about AS" + as, CTX); throw new RuntimeException("Unable to get info about AS" + as);
return Collections.emptyList();
} }
} }
} }