Merge pull request #3566 from appsmithorg/fix/stringify-page-save-analytics
Stringify page save analytics
This commit is contained in:
commit
2e6e015159
|
|
@ -306,7 +306,7 @@ function* savePageSaga(action: ReduxAction<{ isRetry?: boolean }>) {
|
||||||
pageId: savePageRequest.pageId,
|
pageId: savePageRequest.pageId,
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
AnalyticsUtil.logEvent("PAGE_SAVE", savePageRequest);
|
AnalyticsUtil.logEvent("PAGE_SAVE", JSON.stringify(savePageRequest));
|
||||||
try {
|
try {
|
||||||
// Store the updated DSL in the pageDSLs reducer
|
// Store the updated DSL in the pageDSLs reducer
|
||||||
yield put({
|
yield put({
|
||||||
|
|
@ -384,8 +384,8 @@ function* savePageSaga(action: ReduxAction<{ isRetry?: boolean }>) {
|
||||||
widgets[widgetId],
|
widgets[widgetId],
|
||||||
);
|
);
|
||||||
AnalyticsUtil.logEvent("CORRECT_BAD_BINDING", {
|
AnalyticsUtil.logEvent("CORRECT_BAD_BINDING", {
|
||||||
error: incorrectBindingError,
|
error: error.message,
|
||||||
correctWidget: correctedWidget,
|
correctWidget: JSON.stringify(correctedWidget),
|
||||||
});
|
});
|
||||||
yield put(
|
yield put(
|
||||||
updateAndSaveLayout(
|
updateAndSaveLayout(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user