Skip to content

Commit 6e858c3

Browse files
committed
Fix: Handle non-string trace argument
1 parent d6050c1 commit 6e858c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/redux/actionCreators.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export const trace = (componentName, instanceId, methodName) => (dispatch, getSt
7676

7777
setTimeout(() => { // Async, so we can log from render
7878
const {logEntries, replayTimerId} = getState();
79-
dispatch(addLogEntry(componentName, instanceId, methodName));
79+
dispatch(addLogEntry(componentName, instanceId, '' + methodName));
8080
if (replayTimerId === null) {
8181
dispatch(setHighlight(logEntries.length));
8282
dispatch(startReplay());

0 commit comments

Comments
 (0)