diff options
author | Florian Dold <florian@dold.me> | 2022-01-12 15:51:56 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2022-01-12 15:51:56 +0100 |
commit | dc596f1f4d494c3bf9e57253d773205dc0479179 (patch) | |
tree | 9c5dc7e51a9c21582819be6ad1779937a8d71378 /packages/taler-wallet-core/src/util/http.ts | |
parent | dbdad96b27619b8190571b899d3b11dd6af39335 (diff) | |
download | wallet-core-dc596f1f4d494c3bf9e57253d773205dc0479179.tar.xz |
implement latest recoup protocol
Diffstat (limited to 'packages/taler-wallet-core/src/util/http.ts')
-rw-r--r-- | packages/taler-wallet-core/src/util/http.ts | 4 |
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, |