From dc596f1f4d494c3bf9e57253d773205dc0479179 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Wed, 12 Jan 2022 15:51:56 +0100 Subject: implement latest recoup protocol --- packages/taler-wallet-core/src/util/http.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packages/taler-wallet-core/src/util') 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, -- cgit v1.2.3