Remove console.error
This commit is contained in:
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…
x
Reference in New Issue
Block a user