do not keep prompting if there was an error, e.g no wifi
This commit is contained in:
@@ -3884,8 +3884,8 @@ function reportUpgradeEvent(info, oldVersion, alwaysReport) {
|
|||||||
})
|
})
|
||||||
.catch(e => {
|
.catch(e => {
|
||||||
console.log('Failed to report upgrade', e);
|
console.log('Failed to report upgrade', e);
|
||||||
showToast('Report failed. Please try again later.', true);
|
showToast('Report failed', true);
|
||||||
// Do NOT update version info on error - user will be prompted again
|
updateVersionInfo(info.ver, false, !!alwaysReport);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user