diff options
author | Florian Dold <florian.dold@gmail.com> | 2017-12-12 17:37:06 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2017-12-12 17:37:06 +0100 |
commit | 659435570440c5a5eacde3a2e6ef5b3f3430a45f (patch) | |
tree | 853835a09bd5b66e8e36a4be07ca25d5ce0e6e17 /src/webex | |
parent | 9b18c87deb904d83ae5748236dff70de7c5fa656 (diff) |
only warn when actually necessary
Diffstat (limited to 'src/webex')
-rw-r--r-- | src/webex/wxBackend.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/webex/wxBackend.ts b/src/webex/wxBackend.ts index a804c73d1..213d234d4 100644 --- a/src/webex/wxBackend.ts +++ b/src/webex/wxBackend.ts @@ -484,8 +484,9 @@ function handleBankRequest(wallet: Wallet, headerList: chrome.webRequest.HttpHea if (reservePub !== undefined) { console.log(`confirming reserve ${reservePub} via 201`); wallet.confirmReserve({reservePub}); + } else { + console.warn("got 'X-Taler-Operation: confirm-reserve' without 'X-Taler-Reserve-Pub'"); } - console.warn("got 'X-Taler-Operation: confirm-reserve' without 'X-Taler-Reserve-Pub'"); return; } |