validateUnsealedEnvelope: On expire, log serverTimestamp vs. expiration
This commit is contained in:
parent
e321e1fea8
commit
4cd05dc6c9
1 changed files with 3 additions and 1 deletions
|
@ -1384,7 +1384,9 @@ export default class MessageReceiver
|
|||
if (envelope.serverTimestamp > certificate.expiration()) {
|
||||
throw new Error(
|
||||
'MessageReceiver.validateUnsealedEnvelope: ' +
|
||||
`Sender certificate is expired for envelope ${logId}`
|
||||
`Sender certificate is expired for envelope ${logId}, ` +
|
||||
`serverTimestamp: ${envelope.serverTimestamp}, ` +
|
||||
`expiration: ${certificate.expiration()}`
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue