mirror of
https://github.com/AltarikMC/Launcher
synced 2024-11-21 06:09:51 +01:00
Display a notif to user in case of ms login error
This commit is contained in:
parent
769120fd97
commit
a512ea973d
@ -69,6 +69,8 @@ export default class Minecraft {
|
||||
})
|
||||
}).catch(err => {
|
||||
event.sender.send('loginError')
|
||||
logger.error('[MS login]' + lst(err))
|
||||
this.showNotification('Une erreur de connexion à Xbox est survenue', lst(err), 'error')
|
||||
if (err !== 'error.gui.closed') {
|
||||
logger.error('[MS login] ' + lst(err))
|
||||
this.showNotification('Une erreur de connexion à Xbox est survenue', lst(err), 'error')
|
||||
|
Loading…
Reference in New Issue
Block a user