Skip to content

Commit 3775862

Browse files
committed
chore: deploy for error message
1 parent b5f68fe commit 3775862

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

api/controllers/WorkerController.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ module.exports = {
2525
res.json(value);
2626
})
2727
.catch(Sequelize.UniqueConstraintError, function (err) {
28-
console.log('SequelizeError - UniqueConstraintError: ', err.errors);
28+
console.log('SequelizeError - UniqueConstraintError:', err.errors);
2929
return res.send(409, err.errors);
3030
}).catch(Sequelize.ValidationError, function (err) {
31-
console.log('SequelizeError - ValidationError: ', err.errors);
31+
console.log('SequelizeError - ValidationError:', err.errors);
3232
return res.send(400, err.errors);
3333
}).catch(function(err){
3434
return res.negotiate(err.errors);

0 commit comments

Comments
 (0)