This repository has been archived by the owner on Sep 11, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 833
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Error resistant data dump from
TimelinePanel
(#9079)
Error resistant data dump from `TimelinePanel` so we still have some data to dump if one of the pieces errors out. Example error that can happen (as seen in element-hq/element-web-rageshakes#14197): ``` Uncaught TypeError: Cannot read properties of null (reading 'getEvents') at TimelineWindow.getEvents (timeline-window.ts:378:37) at TimelinePanel_TimelinePanel.onDumpDebugLogs (TimelinePanel.tsx:434:60) at Object.ID_727 (TimelinePanel.tsx:609:22) at MatrixDispatcher._invokeCallback (Dispatcher.js:198:1) at MatrixDispatcher.dispatch (Dispatcher.js:174:1) at sentryWrapped (helpers.js:77:1) ```
- Loading branch information
1 parent
e694e87
commit dfa844a
Showing
1 changed file
with
51 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters