Ignore PNI key upload errors for now
Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com>
This commit is contained in:
parent
2fb31b90fc
commit
b4981c6005
|
@ -310,8 +310,20 @@ export default class AccountManager extends EventTarget {
|
||||||
kind
|
kind
|
||||||
);
|
);
|
||||||
|
|
||||||
await this.server.registerKeys(keys, kind);
|
try {
|
||||||
await this.confirmKeys(keys, kind);
|
await this.server.registerKeys(keys, kind);
|
||||||
|
await this.confirmKeys(keys, kind);
|
||||||
|
} catch (error) {
|
||||||
|
if (kind === UUIDKind.PNI) {
|
||||||
|
log.error(
|
||||||
|
'Failed to upload PNI prekeys. Moving on',
|
||||||
|
Errors.toLogFormat(error)
|
||||||
|
);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
throw error;
|
||||||
|
}
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
} finally {
|
} finally {
|
||||||
|
|
Loading…
Reference in New Issue