Page MenuHomePhorge

D10043.1768907277.diff
No OneTemporary

Size
831 B
Referenced Files
None
Subscribers
None

D10043.1768907277.diff

diff --git a/native/crash.react.js b/native/crash.react.js
--- a/native/crash.react.js
+++ b/native/crash.react.js
@@ -148,11 +148,15 @@
}
async sendReport() {
- const sanitizedReduxReport: ReduxCrashReport = sanitizeReduxReport({
+ // There's a type error here because ActionLogger doesn't understand the
+ // exact shape of the Redux state / actions it is passed. We could solve it
+ // by adding some type params to ActionLogger
+ const rawReduxReport: ReduxCrashReport = ({
preloadedState: actionLogger.preloadedState,
currentState: actionLogger.currentState,
actions: actionLogger.actions,
- });
+ }: any);
+ const sanitizedReduxReport = sanitizeReduxReport(rawReduxReport);
const result = await sendReport({
type: reportTypes.ERROR,
platformDetails: {

File Metadata

Mime Type
text/plain
Expires
Tue, Jan 20, 11:07 AM (11 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5960547
Default Alt Text
D10043.1768907277.diff (831 B)

Event Timeline