fix logging

This commit is contained in:
Florian Dold 2016-11-18 17:15:12 +01:00
parent 4b50db1998
commit 7838cdc901
2 changed files with 4 additions and 4 deletions

View File

@ -389,12 +389,12 @@ function handleBankRequest(wallet: Wallet, headerList: chrome.webRequest.HttpHea
if (amount) {
let callbackUrl = headers["x-taler-callback-url"];
if (!callbackUrl) {
console.log("201 not understood (X-Taler-Callback-Url missing)");
console.log("202 not understood (X-Taler-Callback-Url missing)");
return;
}
let wtTypes = headers["x-taler-wt-types"];
if (!wtTypes) {
console.log("201 not understood (X-Taler-Wt-Types missing)");
console.log("202 not understood (X-Taler-Wt-Types missing)");
return;
}
let params = {
@ -408,7 +408,7 @@ function handleBankRequest(wallet: Wallet, headerList: chrome.webRequest.HttpHea
let redirectUrl = uri.query(params).href();
return {redirectUrl};
}
console.log("201 not understood");
console.log("202 not understood");
}
// Useful for debugging ...

View File

@ -27,8 +27,8 @@
"src/cryptoLib.ts",
"src/types-test.ts",
"decl/chrome/chrome.d.ts",
"src/cryptoWorker.ts",
"src/wallet-test.ts",
"src/cryptoWorker.ts",
"src/emscriptif.ts",
"src/helpers.ts",
"src/http.ts",