- users.js: check email uniqueness before insert (was ER_DUP_ENTRY uncaught crash) - server.js: wrapAsyncRouter - Express 4 doesn't catch async handler rejections, route throws now go to error middleware (500 JSON) instead of uncaughtException
8.5 KiB
8.5 KiB