From e52c53b56e9e6298f58bfabdd85ff5e98776ec72 Mon Sep 17 00:00:00 2001 From: Quentin Legot Date: Wed, 6 Mar 2024 21:33:39 +0100 Subject: [PATCH] Fix error not always been formatted --- src/server/minecraft.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/server/minecraft.js b/src/server/minecraft.js index 2766a73..824dfcc 100644 --- a/src/server/minecraft.js +++ b/src/server/minecraft.js @@ -6,7 +6,7 @@ import fs from 'fs' import { join } from 'path' import zip from 'extract-zip' import logger from 'electron-log' -import { Auth, lst } from 'msmc' +import { Auth } from 'msmc' import decompress from 'decompress' import decompressTar from 'decompress-targz' @@ -65,13 +65,13 @@ export default class Minecraft { }).catch(err => { event.sender.send('loginError') this.showNotification('Erreur de connexion à Mojang', err, 'error') - logger.error('[MS login] ' + lst(err)) + logger.error('[MS login] ' + err) }) }).catch(err => { event.sender.send('loginError') if (err !== 'error.gui.closed') { this.showNotification('Une erreur de connexion à Xbox est survenue', err, 'error') - logger.error('[MS login] ' + lst(err)) + logger.error('[MS login] ' + err) } }) }