mirror of
https://github.com/oxen-io/session-desktop.git
synced 2023-12-14 02:12:57 +01:00
parent
f968a5db3d
commit
2c99cc8ff5
1 changed files with 4 additions and 4 deletions
8
main.js
8
main.js
|
@ -632,13 +632,13 @@ app.on('ready', async () => {
|
|||
loggingSetupError = error;
|
||||
}
|
||||
|
||||
if (loggingSetupError) {
|
||||
console.error('Problem setting up logging', loggingSetupError.stack);
|
||||
}
|
||||
|
||||
logger = logging.getLogger();
|
||||
logger.info('app ready');
|
||||
|
||||
if (loggingSetupError) {
|
||||
logger.error('Problem setting up logging', loggingSetupError.stack);
|
||||
}
|
||||
|
||||
if (!locale) {
|
||||
const appLocale = process.env.NODE_ENV === 'test' ? 'en' : app.getLocale();
|
||||
locale = loadLocale({ appLocale, logger });
|
||||
|
|
Loading…
Reference in a new issue