amplitude / amplitude/Amplitude-Node
TypeError: Cannot read property 'length' of null (retryHandler.ts:102:18)
- Lingua principale
- TypeScript
- Stelle
- 73
- Fork
- 20
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
This error is crashing our server unrecoverabley and forcing us to replace the entire instance whenever it happens:
Hoping an urgent fix or info on how to avoid is available!
```
Unhandled rejection in index.js TypeError: Cannot read property 'length' of null
Apr 02 21:06:36 at /var/app/current/node_modules/@amplitude/node/src/retryHandler.ts:102:18
Apr 02 21:06:36 at Array.forEach ()
Apr 02 21:06:36 at RetryHandler._pruneEvents (/var/app/current/node_modules/@amplitude/node/src/retryHandler.ts:99:12)
Apr 02 21:06:36 at RetryHandler. (/var/app/current/node_modules/@amplitude/node/src/retryHandler.ts:61:31)
Apr 02 21:06:36 at step (/var/app/current/node_modules/tslib/tslib.js:141:27)
Apr 02 21:06:36 at Object.next (/var/app/current/node_modules/tslib/tslib.js:122:57)
Apr 02 21:06:36 at /var/app/current/node_modules/tslib/tslib.js:115:75
Apr 02 21:06:36 at new Promise ()
Apr 02 21:06:36 at Object.__awaiter (/var/app/current/node_modules/tslib/tslib.js:111:16)
```
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.