X-Git-Url: https://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fbe%2Fnikiroo%2Ffanfix%2FVersionCheck.java;h=7f8d1a06247b246345e5f8f52ae21498a51cb922;hb=f7322013bb89942b9db919fbda255f216aa3227b;hp=3f63bf5e8819621eabe3c4ebb9e0a022647d8778;hpb=7e191c686f6de7cecc3979dbff136e0bf263277d;p=fanfix.git diff --git a/src/be/nikiroo/fanfix/VersionCheck.java b/src/be/nikiroo/fanfix/VersionCheck.java index 3f63bf5..7f8d1a0 100644 --- a/src/be/nikiroo/fanfix/VersionCheck.java +++ b/src/be/nikiroo/fanfix/VersionCheck.java @@ -12,6 +12,12 @@ import java.util.Map; import be.nikiroo.utils.Version; +/** + * Version checker: can check the current version of the program against a + * remote changelog, and list the missed updates and their description. + * + * @author niki + */ public class VersionCheck { private static final String url = "https://github.com/nikiroo/fanfix/raw/master/changelog.md"; @@ -135,7 +141,8 @@ public class VersionCheck { reader.close(); } } catch (IOException e) { - Instance.syserr(e); + Instance.syserr(new IOException( + "Cannot download latest changelist on github.com", e)); } }