Closed lambdalisue closed 6 months ago
This update introduces a global event listener within the denops framework to enhance stability by preventing server crashes. It specifically addresses unhandled promise rejections, ensuring they are caught and managed effectively, thereby improving the resilience and reliability of the denops server.
File | Summary |
---|---|
denops/@denops-private/worker.ts |
Added a global event listener to prevent denops server crashes due to unhandled rejections. |
🐇✨
In the code's woven warren, deep and vast,
A rabbit worked, with speed and wit amassed.
"Let's catch these slips, these oversights," it said,
"And keep our denops server smoothly fed."
With every line and loop, it danced with grace,
Ensuring not a single error could give chase.
🌟🐾
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 89.81%. Comparing base (
17fc843
) to head (8b92254
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Without this PR, errors on for example
setTimeout
cause Denops crash likeSummary by CodeRabbit