diff options
author | Florian Dold <florian.dold@gmail.com> | 2016-09-28 19:37:05 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2016-09-28 19:37:05 +0200 |
commit | de53505342d3ce479e3bcd03387f658fb8910922 (patch) | |
tree | b0ca3607fda23c4b8665b9e48ced49d09de0d61d /content_scripts/notify.ts | |
parent | 9e93109358e3e04b7c8711a94e72a7229e9a0164 (diff) | |
download | wallet-core-de53505342d3ce479e3bcd03387f658fb8910922.tar.xz |
break merchant redirect loops
Diffstat (limited to 'content_scripts/notify.ts')
-rw-r--r-- | content_scripts/notify.ts | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/content_scripts/notify.ts b/content_scripts/notify.ts index 978e7e9a0..abc72616c 100644 --- a/content_scripts/notify.ts +++ b/content_scripts/notify.ts @@ -217,11 +217,15 @@ namespace TalerNotify { }; chrome.runtime.sendMessage(walletMsg, (resp) => { + if (resp.rateLimitExceeded) { + console.error("rate limit exceeded, check for redirect loops"); + } + if (!resp.success) { if (msg.offering_url) { window.location.href = msg.offering_url; } else { - console.error("execute-payment failed"); + console.error("execute-payment failed", resp); } return; } |