From 33306f6236abf94b1975d36c52e10a97142a4899 Mon Sep 17 00:00:00 2001 From: barisusakli Date: Tue, 20 Sep 2016 17:21:43 +0300 Subject: [PATCH] show stack on error --- public/src/modules/translator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/src/modules/translator.js b/public/src/modules/translator.js index a031efdd0f..e801d9d796 100644 --- a/public/src/modules/translator.js +++ b/public/src/modules/translator.js @@ -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); }); },