Skip to content
OpenVibe Git
Repositories
Explore
New
Codes
Sign in with OpenVibe
openvibers/openvibe.shared
Commits
main
· express-async.js
Code
Changes
Issues
CI
Search code
Commits
Branches
Tags
Releases
Contributors
Insights
Shared 1.27.0: openvibe-shared/express-async. Express 4 ignores what a handler returns, so a promise an async handler rejects (a database error, a thrown problem) became an unhandled rejection, and Node 22 ends the process on one; the move to PostgreSQL made most handlers async (nine services had 5-41 such routes, confirmed to exit). routeAsyncErrors(app) patches the app's own Express 4 Layer once so the rejection reaches next(err) and the service's error handler answers, as a synchronous throw always did; error handlers too; a no-op on Express 5. instrument() calls it, so every service is covered by a pin bump. npm test 40/40.
OpenVibers · 28 Sept 2026
cded2bc