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:
Valere
2023-10-16 16:52:20 +00:00
committed by GitHub
co-authored by Richard van der Hoff
parent 5ff965106a
commit 15d931a33f
+1 -1
View File
@@ -593,7 +593,7 @@ export class UnwrappedEventTile extends React.Component<EventTileProps, IState>
private verifyEvent(): void {
this.doVerifyEvent().catch((e) => {
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);
});
}