diff options
author | Matt Mastracci <matthew@mastracci.com> | 2023-07-03 09:30:02 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-03 15:30:02 +0000 |
commit | 2c2e6adae86874ccb9a3fd2843cf2b50a0847bac (patch) | |
tree | c6df643bf1c5584cdaa4787fda0c517c8522f0de /cli/lsp/analysis.rs | |
parent | 26c2abef7fce9aaad18cd86416dd9b032c9fa767 (diff) |
fix(ext/http): Catch errors in eager stream timeout to avoid uncaught promise rejections (#19691)
Fixes #19687 by adding a rejection handler to the write inside the
setTimeout. There is a small window where the promise is actually not
awaited and may reject without a handler.
Diffstat (limited to 'cli/lsp/analysis.rs')
0 files changed, 0 insertions, 0 deletions