Remove console.error

pull/1/head
yflory 5 years ago
parent 30492be60c
commit 123794fe99

@ -620,24 +620,20 @@ define([
// Delete the pins log // Delete the pins log
team.rpc.removePins(waitFor(function (err) { team.rpc.removePins(waitFor(function (err) {
if (err) { console.error(err); } if (err) { console.error(err); }
console.error(err);
})); }));
// Delete the roster // Delete the roster
var rosterChan = Util.find(teamData, ['keys', 'roster', 'channel']); var rosterChan = Util.find(teamData, ['keys', 'roster', 'channel']);
ctx.store.rpc.removeOwnedChannel(rosterChan, waitFor(function (err) { ctx.store.rpc.removeOwnedChannel(rosterChan, waitFor(function (err) {
if (err) { console.error(err); } if (err) { console.error(err); }
console.error(err);
})); }));
// Delete the chat // Delete the chat
var chatChan = Util.find(teamData, ['keys', 'chat', 'channel']); var chatChan = Util.find(teamData, ['keys', 'chat', 'channel']);
ctx.store.rpc.removeOwnedChannel(chatChan, waitFor(function (err) { ctx.store.rpc.removeOwnedChannel(chatChan, waitFor(function (err) {
if (err) { console.error(err); } if (err) { console.error(err); }
console.error(err);
})); }));
// Delete the team drive // Delete the team drive
ctx.store.rpc.removeOwnedChannel(teamData.channel, waitFor(function (err) { ctx.store.rpc.removeOwnedChannel(teamData.channel, waitFor(function (err) {
if (err) { console.error(err); } if (err) { console.error(err); }
console.error(err);
})); }));
}).nThen(function () { }).nThen(function () {
cb(); cb();

Loading…
Cancel
Save