add sql query to the error in sequelize