diff --git a/src/utils/EventUtils.ts b/src/utils/EventUtils.ts index 4d390db1ab..f48e720e70 100644 --- a/src/utils/EventUtils.ts +++ b/src/utils/EventUtils.ts @@ -190,7 +190,7 @@ export async function fetchInitialEvent( const eventData = await client.fetchRoomEvent(roomId, eventId); initialEvent = new MatrixEvent(eventData); } catch (e) { - logger.warn("Could not find initial event: " + initialEvent.threadRootId); + logger.warn("Could not find initial event: " + eventId); initialEvent = null; }