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) {
|
if (amount) {
|
||||||
let callbackUrl = headers["x-taler-callback-url"];
|
let callbackUrl = headers["x-taler-callback-url"];
|
||||||
if (!callbackUrl) {
|
if (!callbackUrl) {
|
||||||
console.log("201 not understood (X-Taler-Callback-Url missing)");
|
console.log("202 not understood (X-Taler-Callback-Url missing)");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
let wtTypes = headers["x-taler-wt-types"];
|
let wtTypes = headers["x-taler-wt-types"];
|
||||||
if (!wtTypes) {
|
if (!wtTypes) {
|
||||||
console.log("201 not understood (X-Taler-Wt-Types missing)");
|
console.log("202 not understood (X-Taler-Wt-Types missing)");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
let params = {
|
let params = {
|
||||||
@ -408,7 +408,7 @@ function handleBankRequest(wallet: Wallet, headerList: chrome.webRequest.HttpHea
|
|||||||
let redirectUrl = uri.query(params).href();
|
let redirectUrl = uri.query(params).href();
|
||||||
return {redirectUrl};
|
return {redirectUrl};
|
||||||
}
|
}
|
||||||
console.log("201 not understood");
|
console.log("202 not understood");
|
||||||
}
|
}
|
||||||
|
|
||||||
// Useful for debugging ...
|
// Useful for debugging ...
|
||||||
|
@ -27,8 +27,8 @@
|
|||||||
"src/cryptoLib.ts",
|
"src/cryptoLib.ts",
|
||||||
"src/types-test.ts",
|
"src/types-test.ts",
|
||||||
"decl/chrome/chrome.d.ts",
|
"decl/chrome/chrome.d.ts",
|
||||||
"src/cryptoWorker.ts",
|
|
||||||
"src/wallet-test.ts",
|
"src/wallet-test.ts",
|
||||||
|
"src/cryptoWorker.ts",
|
||||||
"src/emscriptif.ts",
|
"src/emscriptif.ts",
|
||||||
"src/helpers.ts",
|
"src/helpers.ts",
|
||||||
"src/http.ts",
|
"src/http.ts",
|
||||||
|
Loading…
Reference in New Issue
Block a user