URL u = new URL(args[startargs]);
try {
originAddr = InetAddress.getByName(u.getHost());
- } catch (UnknownHostException) {
- if (Log.on) Log.log("couldn't resolve " + u.getHost() + " -- hopefully there is a proxy that can");
+ // FIXME: use XMLRPC resolver?
+ } catch (UnknownHostException e) {
+ if (Log.on) Log.log(Main.class, "couldn't resolve " + u.getHost() + " -- hopefully there is a proxy that can");
}
Resources.loadArchive(new HTTP(args[startargs]).getInputStream());