From 15d931a33f00551604702ce768850475a38a80a9 Mon Sep 17 00:00:00 2001 From: Valere Date: Mon, 16 Oct 2023 18:52:20 +0200 Subject: [PATCH] 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> --- src/components/views/rooms/EventTile.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/views/rooms/EventTile.tsx b/src/components/views/rooms/EventTile.tsx index 745ec3668e..45f42986ac 100644 --- a/src/components/views/rooms/EventTile.tsx +++ b/src/components/views/rooms/EventTile.tsx @@ -593,7 +593,7 @@ export class UnwrappedEventTile extends React.Component 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); }); }