mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-21 01:41:46 +03:00
42f4518a63
no issue - Error object can be an array in case of database constrain validation errors, for this reason need to distinguish between singular objects and an array. This handling resemles the one in common error-handler - https://github.com/TryGhost/Ghost/blob/3.5.0/core/server/web/shared/middlewares/error-handler.js#L31-L33 |
||
---|---|---|
.. | ||
client@844dea9c84 | ||
frontend | ||
server | ||
shared/nql-map-key-values | ||
test | ||
index.js |