fix logging full event (#11755)
* fix logging full event * put stacktrace last * Update src/components/views/rooms/EventTile.tsx Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> --------- Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
This commit is contained in:
parent
5ff965106a
commit
15d931a33f
1 changed files with 1 additions and 1 deletions
|
@ -593,7 +593,7 @@ export class UnwrappedEventTile extends React.Component<EventTileProps, IState>
|
||||||
private verifyEvent(): void {
|
private verifyEvent(): void {
|
||||||
this.doVerifyEvent().catch((e) => {
|
this.doVerifyEvent().catch((e) => {
|
||||||
const event = this.props.mxEvent;
|
const event = this.props.mxEvent;
|
||||||
logger.error("Error getting encryption info on event", e, event);
|
logger.error(`Error getting encryption info on event ${event.getId()} in room ${event.getRoomId()}`, e);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue