I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit f5ae9c23 authored by zzz's avatar zzz
Browse files

fix installer tools compile

parent 23cb4ca7
No related branches found
No related tags found
No related merge requests found
......@@ -24,6 +24,7 @@ import java.util.Properties;
import gnu.getopt.Getopt;
import net.i2p.I2PAppContext;
import net.i2p.data.DataFormatException;
import net.i2p.data.Hash;
import net.i2p.data.router.RouterAddress;
import net.i2p.data.router.RouterInfo;
......@@ -109,7 +110,9 @@ public class BundleRouterInfos {
RouterInfo ri = new RouterInfo();
ri.readBytes(fis, true); // true = verify sig on read
me = ri.getIdentity().getHash();
} catch (RuntimeException e) {
} catch (IOException e) {
//System.out.println("Can't determine our identity");
} catch (DataFormatException e) {
//System.out.println("Can't determine our identity");
} finally {
if (fis != null) try { fis.close(); } catch (IOException ioe) {}
......@@ -209,7 +212,9 @@ public class BundleRouterInfos {
copied++;
else
System.out.println("Failed copy of " + file + " to " + toDir);
} catch (RuntimeException e) {
} catch (IOException e) {
System.out.println("Skipping bad " + file);
} catch (DataFormatException e) {
System.out.println("Skipping bad " + file);
} finally {
if (fis != null) try { fis.close(); } catch (IOException ioe) {}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment