Skip to content

Commit fa7b528

Browse files
authored
Merge pull request #498 from datacamp/bb/check-api-deploy
chore: check api deploy message ecs
2 parents 8b57d27 + b5f68fe commit fa7b528

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
@@ -26,10 +26,10 @@ module.exports = {
2626
res.json(value);
2727
})
2828
.catch(Sequelize.UniqueConstraintError, function (err) {
29-
console.log('SequelizeError: UniqueConstraintError: ', err.errors);
29+
console.log('SequelizeError - UniqueConstraintError: ', err.errors);
3030
return res.send(409, err.errors);
3131
}).catch(Sequelize.ValidationError, function (err) {
32-
console.log('SequelizeError: ValidationError: ', err.errors);
32+
console.log('SequelizeError - ValidationError: ', err.errors);
3333
return res.send(400, err.errors);
3434
}).catch(function(err){
3535
console.log(err.errors);

0 commit comments

Comments
 (0)