isomerpages / isomercms-backend

A static website builder and host for the Singapore Government
5 stars 1 forks source link

Release/0.22.1 #716

Closed alexanderleegs closed 1 year ago

alexanderleegs commented 1 year ago

Problem

This PR fixes an issue introduced by our node upgrade - previously, the default error handling behaviour on unhandledRejection was to warn, but this was changed to throw in node 15 (see here), which doesn't play well with our existing express error handler. This PR sets it back to warn so that unhandled errors no longer crash our server.