mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-05-08 08:58:38 +01:00
main/second-instance: If logger isn't ready, skip further checks
This commit is contained in:
@@ -195,6 +195,13 @@ if (!process.mas) {
|
||||
|
||||
showWindow();
|
||||
}
|
||||
if (!logger) {
|
||||
console.log(
|
||||
'second-instance: logger not initialized; skipping further checks'
|
||||
);
|
||||
return;
|
||||
}
|
||||
|
||||
const incomingCaptchaHref = getIncomingCaptchaHref(argv);
|
||||
if (incomingCaptchaHref) {
|
||||
const { captcha } = parseCaptchaHref(incomingCaptchaHref, getLogger());
|
||||
|
||||
Reference in New Issue
Block a user