Closed radiegtya closed 8 years ago
You can chain a catch
onto your promise:
$meteor.call("Chatapp.Channel.insert", doc).result.then(function(channelId){
console.log(channelId); //this is working & the question is how to get the error result?
}).catch(function(err) {
console.log(err);
});
Cool @idmontie I'll try it and close the issue if success!!!
THanks
Cool @idmontie thats work! Thanks
I'll close this
Here is my code, the result return ok, but how to get the error?
Thanks