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) {