mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-07 13:57:24 +02:00
show stack on error
This commit is contained in:
@@ -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);
|
||||
});
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user