aboutsummaryrefslogtreecommitdiff
path: root/src/webex/wxApi.ts
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2019-11-02 15:54:43 +0000
committerng0 <ng0@n0.is>2019-11-02 15:54:43 +0000
commit5e05c22c57dfd6ed28516f10e3460567c3bbfc08 (patch)
tree0cfb3ee75054e04f626f6274d4718af2d2bd89e1 /src/webex/wxApi.ts
parentd5794f507b77110584eb38ec8be362b7ce3cca67 (diff)
parent70a232294035b2a08a701391495b65fdff696b7a (diff)
Merge branch 'master' of git.taler.net:wallet-core
Diffstat (limited to 'src/webex/wxApi.ts')
-rw-r--r--src/webex/wxApi.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/webex/wxApi.ts b/src/webex/wxApi.ts
index 65c14ac48..39c31ca51 100644
--- a/src/webex/wxApi.ts
+++ b/src/webex/wxApi.ts
@@ -86,6 +86,7 @@ async function callBackend<T extends MessageType>(
return new Promise<MessageMap[T]["response"]>((resolve, reject) => {
chrome.runtime.sendMessage({ type, detail }, (resp) => {
if (typeof resp === "object" && resp && resp.error) {
+ console.warn("response error:", resp)
const e = new WalletApiError(resp.error.message, resp.error);
reject(e);
} else {