show stack on error

v1.18.x
barisusakli 8 years ago
parent e0ec2d8e54
commit 33306f6236

@ -298,7 +298,7 @@
Translator.create(lang).translate(text).then(function (output) {
return cb(output);
}).catch(function (err) {
console.error('Translation failed: ' + err.message);
console.error('Translation failed: ' + err.stack);
});
},

Loading…
Cancel
Save