mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-14 09:12:22 +07:00
OPENIDE fix download RegionUrlMapper
This commit is contained in:
@@ -148,8 +148,7 @@ public final class RegionUrlMapper {
|
||||
private static @NotNull RegionMapping doLoadMappingOrThrow(@NotNull Region reg) throws IOException {
|
||||
String configUrl = getConfigUrl(reg);
|
||||
try {
|
||||
String json = HttpRequests.request(configUrl).readString();
|
||||
return RegionMapping.fromJson(json);
|
||||
return RegionMapping.empty();
|
||||
}
|
||||
catch (Throwable e) {
|
||||
LOG.info("Failed to load region-specific url mappings : " + e.getMessage());
|
||||
|
||||
Reference in New Issue
Block a user