From f2fd9167b4c52d7dd089cb7dfba7838e7a0da2dc Mon Sep 17 00:00:00 2001 From: nathan Date: Tue, 23 Oct 2018 11:16:31 +0200 Subject: [PATCH] Added more useful comments when upgrading gnome extension --- src/dorkbox/systemTray/gnomeShell/Extension.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/dorkbox/systemTray/gnomeShell/Extension.java b/src/dorkbox/systemTray/gnomeShell/Extension.java index 4fb9798..ac80be3 100644 --- a/src/dorkbox/systemTray/gnomeShell/Extension.java +++ b/src/dorkbox/systemTray/gnomeShell/Extension.java @@ -268,7 +268,7 @@ class Extension { if (hasSystemTray) { if (SystemTray.DEBUG) { - logger.debug("Checking current version of extension for upgrade"); + logger.debug("Extension already installed, checking for upgrade"); } // have to check to see if the version is correct as well (otherwise we have to reinstall it) // compat for java 1.6 @@ -282,8 +282,7 @@ class Extension { builder.append(line) .append("\n"); } - } catch (FileNotFoundException ignored) { - } catch (IOException ignored) { + } catch (Exception ignored) { } finally { if (bin != null) { try {