diff options
author | Alex Yatskov <alex@foosoft.net> | 2017-09-24 11:01:40 -0700 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2017-09-24 11:01:40 -0700 |
commit | 00c20aed4253da6506194d90a6102920d3235ced (patch) | |
tree | cfb2fd51a441241cb333a208b3ce3130add93953 /ext/bg/js/backend.js | |
parent | 3a1aad07d61411f634e86f905babd6fbbac2eae1 (diff) | |
parent | 29812c1b036d3eae9b5b222219f556aec712c3e8 (diff) |
Merge branch 'master' into firefox-amo
Diffstat (limited to 'ext/bg/js/backend.js')
-rw-r--r-- | ext/bg/js/backend.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/backend.js b/ext/bg/js/backend.js index 7d68ed84..01340419 100644 --- a/ext/bg/js/backend.js +++ b/ext/bg/js/backend.js @@ -71,7 +71,7 @@ class Backend { return promise.then(result => { callback({result}); }).catch(error => { - callback({error}); + callback({error: error.toString ? error.toString() : error}); }); }; |