From e0195606381cc54c9f791468bc6f117836d2eb7b Mon Sep 17 00:00:00 2001 From: idk Date: Thu, 22 Dec 2022 04:53:48 +0000 Subject: [PATCH] work on torrent updates --- scripts/build.number | 4 ++-- src/java/net/i2p/i2pfirefox/I2PBrowserPlugin.java | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/scripts/build.number b/scripts/build.number index a077b37..934ab5a 100644 --- a/scripts/build.number +++ b/scripts/build.number @@ -1,3 +1,3 @@ #Build Number for ANT. Do not edit! -#Thu Dec 22 04:50:54 UTC 2022 -build.number=366 +#Thu Dec 22 04:53:08 UTC 2022 +build.number=367 diff --git a/src/java/net/i2p/i2pfirefox/I2PBrowserPlugin.java b/src/java/net/i2p/i2pfirefox/I2PBrowserPlugin.java index c2f353f..d092312 100644 --- a/src/java/net/i2p/i2pfirefox/I2PBrowserPlugin.java +++ b/src/java/net/i2p/i2pfirefox/I2PBrowserPlugin.java @@ -85,7 +85,7 @@ public class I2PBrowserPlugin extends I2PBrowser implements ClientApp { public void startup() { cam.notify(this, ClientAppState.STARTING, "Starting up profile manager systray", null); - final IOException error = null; + final IOException error; Runnable r = new Runnable() { public void run() { try { @@ -98,7 +98,8 @@ public class I2PBrowserPlugin extends I2PBrowser implements ClientApp { new Thread(r).start(); try { this.startup(args); - logger.warning(error.toString()); + if (error != null) + logger.warning(error.toString()); cam.notify(this, ClientAppState.RUNNING, "Starting up profile manager systray", null); } catch (Exception e) {