aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/util
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2022-01-12 15:51:56 +0100
committerFlorian Dold <florian@dold.me>2022-01-12 15:51:56 +0100
commitdc596f1f4d494c3bf9e57253d773205dc0479179 (patch)
tree9c5dc7e51a9c21582819be6ad1779937a8d71378 /packages/taler-wallet-core/src/util
parentdbdad96b27619b8190571b899d3b11dd6af39335 (diff)
downloadwallet-core-dc596f1f4d494c3bf9e57253d773205dc0479179.tar.xz
implement latest recoup protocol
Diffstat (limited to 'packages/taler-wallet-core/src/util')
-rw-r--r--packages/taler-wallet-core/src/util/http.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/taler-wallet-core/src/util/http.ts b/packages/taler-wallet-core/src/util/http.ts
index 0556d2274..3a7062c99 100644
--- a/packages/taler-wallet-core/src/util/http.ts
+++ b/packages/taler-wallet-core/src/util/http.ts
@@ -164,7 +164,7 @@ export async function readUnexpectedResponseDetails(
}
return makeErrorDetails(
TalerErrorCode.WALLET_UNEXPECTED_REQUEST_ERROR,
- "Unexpected error code in response",
+ `Unexpected HTTP status (${httpResponse.status}) in response`,
{
requestUrl: httpResponse.requestUrl,
httpStatusCode: httpResponse.status,
@@ -220,7 +220,7 @@ export function throwUnexpectedRequestError(
throw new OperationFailedError(
makeErrorDetails(
TalerErrorCode.WALLET_UNEXPECTED_REQUEST_ERROR,
- "Unexpected error code in response",
+ `Unexpected HTTP status ${httpResponse.status} in response`,
{
requestUrl: httpResponse.requestUrl,
httpStatusCode: httpResponse.status,