Skip to content

Commit

Permalink
Merge pull request #1232 from matrix-org/bwindels/logeventidinverifreq
Browse files Browse the repository at this point in the history
More verification request logging
  • Loading branch information
bwindels authored Feb 27, 2020
2 parents d3d12ab + 1e29b1a commit 8d26bd9
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/crypto/verification/request/VerificationRequest.js
Original file line number Diff line number Diff line change
Expand Up @@ -622,9 +622,11 @@ export class VerificationRequest extends EventEmitter {
} finally {
// log events we processed so we can see from rageshakes what events were added to a request
logger.log(`Verification request ${this.channel.transactionId}: ` +
`${type} event with ${JSON.stringify(event.getContent())} ` +
`deviceId:${this.channel.deviceId} ` +
`sender:${event.getSender()}, isSentByUs:${isSentByUs} ` +
`${type} event with id:${event.getId()}, ` +
`content:${JSON.stringify(event.getContent())} ` +
`deviceId:${this.channel.deviceId}, ` +
`sender:${event.getSender()}, isSentByUs:${isSentByUs}, ` +
`isLiveEvent:${isLiveEvent}, isRemoteEcho:${isRemoteEcho}, ` +
`phase:${oldPhase}=>${this.phase}, ` +
`observeOnly:${wasObserveOnly}=>${this._observeOnly}`);
}
Expand Down

0 comments on commit 8d26bd9

Please sign in to comment.