From 7413c1bcb2916ad0ff77833679ae346563044d74 Mon Sep 17 00:00:00 2001 From: Vladimir Kotikov Date: Fri, 19 Sep 2014 13:16:20 +0400 Subject: [PATCH] CB-7600 Adds informative message to error callback in manual test. --- tests/tests.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/tests.js b/tests/tests.js index e228a93..fd97ec2 100644 --- a/tests/tests.js +++ b/tests/tests.js @@ -135,7 +135,7 @@ exports.defineManualTests = function (contentEl, createActionButton) { } function onGetPictureError(e) { - log('Error getting picture: ' + e.code); + log('Error getting picture: ' + (e.code || e)); } function getPictureWin(data) {