Experimental changes in preparation for auto-update support.
This commit is contained in:
@@ -74,9 +74,11 @@ exports.validateSelected = async function(){
|
||||
ConfigManager.updateAuthAccount(current.uuid, session.accessToken)
|
||||
ConfigManager.save()
|
||||
} catch(err) {
|
||||
if(err && err.message === 'ForbiddenOperationException'){
|
||||
return false
|
||||
console.debug('Error while validating selected profile:', err)
|
||||
if(err && err.error === 'ForbiddenOperationException'){
|
||||
// What do we do?
|
||||
}
|
||||
return false
|
||||
}
|
||||
return true
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user