fix logging
This commit is contained in:
parent
4b50db1998
commit
7838cdc901
@ -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 ...
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user