amplitude / amplitude/Amplitude-Node
Make it possible to identify and catch timeout exceptions
Offen
- Vorherrschende Sprache
- TypeScript
- Sterne
- 73
- Forks
- 20
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
## Summary
The way timeout exceptions are thrown make it not possible to catch them explicitly as its just a generic rejections with an empty new Error():
https://github.com/amplitude/Amplitude-Node/blob/main/packages/utils/src/queue.ts#L56
## Motivations
Filter timeout exceptions and being able to handle them specifically
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.