TP-67091 | Status code in clickstream (#10887)

This commit is contained in:
Prajjaval Verma
2024-05-17 19:49:56 +05:30
committed by GitHub
parent 9fc1e2cd63
commit adb7de4fbc
3 changed files with 33 additions and 14 deletions

View File

@@ -300,7 +300,8 @@ const handleErrorData = (
`No response from api call: ${widgetMetaData.actionType} | Error: ${error} | MethodName: handleWidgetAction}`
);
const errorEvent: GlobalErrorData = {
reason: error.toString(),
reason: `${error.message}, axiosError: ${error.axiosCode}`,
statusCode: error.statusCode,
moduleName: AnalyticsModuleNameConstant.GI,
flowName: AnalyticsFlowNameConstant.GI_RN_QUOTE,
methodName: methodName,