log on failed plugin update check

This commit is contained in:
zzz
2015-04-16 13:14:40 +00:00
parent 089626f6b1
commit 997fbb3392

View File

@ -912,10 +912,13 @@ public class ConsoleUpdateManager implements UpdateManager, RouterApp {
break;
case PLUGIN:
if (!success)
msg = "<b>" + _("Update check failed for plugin {0}", task.getID()) + "</b>";
else if (!newer)
if (!success) {
msg = _("Update check failed for plugin {0}", task.getID());
_log.logAlways(Log.WARN, msg);
msg = "<b>" + msg + "</b>";
} else if (!newer) {
msg = "<b>" + _("No new version is available for plugin {0}", task.getID()) + "</b>";
}
/// else success.... message for that?
break;