Closed mcollina closed 6 years ago
as sequelize is promise-based, you can return a promise instead of calling next.
next
Currently you are not handling the error correctly, as catch() is just console.logging.
catch()
as sequelize is promise-based, you can return a promise instead of calling
next
.Currently you are not handling the error correctly, as
catch()
is just console.logging.