Repository: cordova-plugin-camera Updated Branches: refs/heads/master 860fedece -> 7413c1bcb
CB-7600 Adds informative message to error callback in manual test. Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/commit/7413c1bc Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/tree/7413c1bc Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/diff/7413c1bc Branch: refs/heads/master Commit: 7413c1bcb2916ad0ff77833679ae346563044d74 Parents: 860fede Author: Vladimir Kotikov <[email protected]> Authored: Fri Sep 19 13:16:20 2014 +0400 Committer: Vladimir Kotikov <[email protected]> Committed: Fri Sep 19 13:21:22 2014 +0400 ---------------------------------------------------------------------- tests/tests.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/blob/7413c1bc/tests/tests.js ---------------------------------------------------------------------- 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) {
