Added more useful comments when upgrading gnome extension

This commit is contained in:
nathan 2018-10-23 11:16:31 +02:00
parent ca499306e8
commit f2fd9167b4

View File

@ -268,7 +268,7 @@ class Extension {
if (hasSystemTray) { if (hasSystemTray) {
if (SystemTray.DEBUG) { 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) // have to check to see if the version is correct as well (otherwise we have to reinstall it)
// compat for java 1.6 // compat for java 1.6
@ -282,8 +282,7 @@ class Extension {
builder.append(line) builder.append(line)
.append("\n"); .append("\n");
} }
} catch (FileNotFoundException ignored) { } catch (Exception ignored) {
} catch (IOException ignored) {
} finally { } finally {
if (bin != null) { if (bin != null) {
try { try {