diff --git a/src/interactions/leaderAdd.js b/src/interactions/leaderAdd.js index 63d97730..e4a86f2e 100644 --- a/src/interactions/leaderAdd.js +++ b/src/interactions/leaderAdd.js @@ -46,7 +46,7 @@ const interactionLeaderAdd = (bot, message) => { console.log('TODO: validate leader can be assigned to club') }) .catch(err => { - throw err + console.error(err) }) }) } diff --git a/src/utils.js b/src/utils.js index a197ccac..6e1fbebd 100644 --- a/src/utils.js +++ b/src/utils.js @@ -25,6 +25,7 @@ export const airPatch = (baseName, recordID, values) => export const airCreate = (baseName, fields) => new Promis((resolve, reject) => { + console.log(fields) base(baseName).create([{ fields }], (err, records) => { if (err) { console.error(err)