Send: Gracefully degrade if we don't have sender certificate
This commit is contained in:
parent
21e2877234
commit
e5e4f90974
1 changed files with 2 additions and 4 deletions
|
@ -257,10 +257,8 @@ OutgoingMessage.prototype = {
|
||||||
const { accessKey } = info || {};
|
const { accessKey } = info || {};
|
||||||
|
|
||||||
if (accessKey && !senderCertificate) {
|
if (accessKey && !senderCertificate) {
|
||||||
return Promise.reject(
|
window.log.warn(
|
||||||
new Error(
|
'OutgoingMessage.doSendMessage: accessKey was provided, but senderCertificate was not'
|
||||||
'OutgoingMessage.doSendMessage: accessKey was provided, but senderCertificate was not'
|
|
||||||
)
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue