View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0009243 | Taler | wallet-core | public | 2024-10-02 16:25 | 2025-01-14 23:42 |
Reporter | MarcS | Assigned To | MarcS | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | feedback | Resolution | open | ||
Target Version | 1.0 | ||||
Summary | 0009243: When an Exchange is not reachable, wallet-core should return "not reachable" instead of some JSON error | ||||
Description | HEAD was down, I tried to get the ToS, but got this error: WalletBackendResponseError(code: 7002, when: Optional(taler_swift.Timestamp.milliseconds(1727801238236)), hint: "Couldn\'t parse JSON format from error response", requestUrl: Optional("https://exchange.head.taler.net/terms"), httpStatusCode: Optional(502), errorResponse: nil, message: nil) wallet-core should return that the Exchange couldn't be reached, but not some obscure JSON error. | ||||
Tags | No tags attached. | ||||
|
The wallet now throws the right GANA code (WALLET_EXCHANGE_UNAVAILABLE = 7032) with {exchangeBaseUrl: string, innerError?: TalerErrorDetail} instead. commit f119f4aae40623bb0c15f61f58a65a40ce233eab (HEAD -> master, origin/master, origin/HEAD) Author: Florian Dold <florian@dold.me> Date: Tue Jan 14 23:40:43 2025 +0100 wallet-core: use proper GANA error code when ToS download fails |
Date Modified | Username | Field | Change |
---|---|---|---|
2024-10-02 16:25 | MarcS | New Issue | |
2024-10-02 16:25 | MarcS | Status | new => assigned |
2024-10-02 16:25 | MarcS | Assigned To | => Florian Dold |
2024-10-02 17:05 | Florian Dold | Target Version | => 1.0 |
2025-01-14 23:41 | Florian Dold | Note Added: 0023984 | |
2025-01-14 23:41 | Florian Dold | Status | assigned => feedback |
2025-01-14 23:42 | Florian Dold | Assigned To | Florian Dold => MarcS |