Closed ghusse closed 4 years ago
Linked to CU-6gmxhz
This PR introduces a new dependency forest-express which was previously implied on generated projects by forest-express-{mongodb|sequelize}.
forest-express
forest-express-{mongodb|sequelize}
The generated app.js file now uses the errorHandler, exposed by forest-express (see https://github.com/ForestAdmin/forest-express/pull/462), to be sure that error are correctly serialized.
app.js
errorHandler
Task linked: CU-6gmxhz P3 - Record Update - Error is in HTML instead of JSON with mongo validator on model and custom routes
:tada: This PR is included in version 3.6.5 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Linked to CU-6gmxhz
This PR introduces a new dependency
forest-express
which was previously implied on generated projects byforest-express-{mongodb|sequelize}
.The generated
app.js
file now uses theerrorHandler
, exposed byforest-express
(see https://github.com/ForestAdmin/forest-express/pull/462), to be sure that error are correctly serialized.Pull Request checklist: