better catch of network definition load error; continue with secondary network load definition location

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7270 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
orbiter 15 years ago
parent 7adfe4a1c1
commit e3964f2c31

@ -735,7 +735,9 @@ public final class Switchboard extends serverSwitch {
if (netdefmap == null || netdefmap.size() == 0) continue netload;
setConfig(netdefmap);
break netload;
} catch (final MalformedURLException e) {}
} catch (final Exception e) {
continue netload;
}
}
} else {
final File networkUnitDefinitionFile = (networkUnitDefinition.length() > 0 && networkUnitDefinition.charAt(0) == '/') ? new File(networkUnitDefinition) : new File(getAppPath(), networkUnitDefinition);

Loading…
Cancel
Save