diff options
| author | Jeremy Rimpo <jeremy.rimpo@servermonkey.com> | 2017-10-23 16:12:15 -0500 |
|---|---|---|
| committer | Jeremy Rimpo <jeremy.rimpo@servermonkey.com> | 2017-10-23 16:12:15 -0500 |
| commit | f0f2112c1562ae123b0cd1f0b2f4f542322f2937 (patch) | |
| tree | 8b6cb71a669fdb8dc7546e46863f12cb8216fdb7 /src | |
| parent | 0c6f9831489840bdb3e74f1cdaa1e6f970d8d428 (diff) | |
| parent | 03608230acd0faa7d5fefdc11c75713a0b6c733e (diff) | |
Merge remote-tracking branch 'upstream/QT5.7' into mainline_dev
Diffstat (limited to 'src')
| -rw-r--r-- | src/selfupdater.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/selfupdater.cpp b/src/selfupdater.cpp index d78b020b..273e9b45 100644 --- a/src/selfupdater.cpp +++ b/src/selfupdater.cpp @@ -124,6 +124,7 @@ void SelfUpdater::testForUpdate() {
// TODO: if prereleases are disabled we could just request the latest release
// directly
+ try {
m_GitHub.releases(GitHub::Repository("LePresidente", "modorganizer"),
[this](const QJsonArray &releases) {
QJsonObject newest;
@@ -155,6 +156,11 @@ void SelfUpdater::testForUpdate() }
}
});
+ }
+ //Catch all is bad by design, should be improved
+ catch (...) {
+ qDebug("Unable to connect to github.com to check version");
+ }
}
void SelfUpdater::startUpdate()
|
