mirror of https://github.com/keeweb/keeweb.git
fix #1561: error during loading configs after reset
This commit is contained in:
parent
49d46cfedc
commit
ffb68b1651
|
@ -201,9 +201,13 @@ app.httpRequest = httpRequest;
|
||||||
|
|
||||||
function logProgress(name) {
|
function logProgress(name) {
|
||||||
perfTimestamps?.push({ name, ts: process.hrtime() });
|
perfTimestamps?.push({ name, ts: process.hrtime() });
|
||||||
|
logStartupMessage(name);
|
||||||
|
}
|
||||||
|
|
||||||
|
function logStartupMessage(msg) {
|
||||||
if (startupLogging) {
|
if (startupLogging) {
|
||||||
// eslint-disable-next-line no-console
|
// eslint-disable-next-line no-console
|
||||||
console.log('[startup]', name);
|
console.log('[startup]', msg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -792,7 +796,8 @@ function loadConfig(name) {
|
||||||
|
|
||||||
resolve(data.toString('utf8'));
|
resolve(data.toString('utf8'));
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
reject(`Error reading config data ${name}: ${err}`);
|
logStartupMessage(`Error reading config data (config ignored) ${name}: ${err}`);
|
||||||
|
resolve(null);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
@ -4,6 +4,7 @@ Release notes
|
||||||
`-` fixed a performance issue in searching entries
|
`-` fixed a performance issue in searching entries
|
||||||
`*` improved the "Show all file" checkbox behavior
|
`*` improved the "Show all file" checkbox behavior
|
||||||
`+` shortcut to copy OTP
|
`+` shortcut to copy OTP
|
||||||
|
`-` fix #1561: error during loading configs after reset
|
||||||
|
|
||||||
##### v1.15.7 (2020-09-12)
|
##### v1.15.7 (2020-09-12)
|
||||||
`-` fix #1564: broken auto-type on some Linux installations
|
`-` fix #1564: broken auto-type on some Linux installations
|
||||||
|
|
Loading…
Reference in New Issue