Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'toString')
angelamelinda opened this issue · comments
Expected Behavior
No Errors
Actual Behavior
I got
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'toString')
It seems this error occurred in ignoreCaseEquals
function in Messages.ts
Steps to Reproduce the Problem
- n/a
Specifications
- Version: 1.8.3
- Platform: n/a
- Subsystem: n/a
It appears that this may happen when an event is triggered with an "undefined" parameter, e.g. Leanplum.track('Purchase', { item: undefined })
. Adding a patch with this assumption.
Providing steps to reproduce the problem would eliminate the guesswork.