amplitude / amplitude/Amplitude-Node
Make it possible to identify and catch timeout exceptions
Aberta
- Linguagem predominante
- TypeScript
- Estrelas
- 73
- Forks
- 20
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
## 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
Guia de contribuição
Avaliação
Esta issue ainda não foi avaliada.