diff options
author | Florian Dold <florian@dold.me> | 2021-11-02 17:22:11 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2021-11-02 17:22:11 +0100 |
commit | 03518ced4816ec9be0fcebf2a04bd0ef0cbdb8a6 (patch) | |
tree | 46157d9829b7709ee6fe7d0aaa551dfca2f8e7ce /packages/anastasis-core/src/index.ts | |
parent | fdc36b4fb75201e23023a583b8eebd05b1f24f77 (diff) | |
download | wallet-core-03518ced4816ec9be0fcebf2a04bd0ef0cbdb8a6.tar.xz |
anastasis: more verbose hint
Diffstat (limited to 'packages/anastasis-core/src/index.ts')
-rw-r--r-- | packages/anastasis-core/src/index.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/anastasis-core/src/index.ts b/packages/anastasis-core/src/index.ts index 9bb4e347a..4323df9c2 100644 --- a/packages/anastasis-core/src/index.ts +++ b/packages/anastasis-core/src/index.ts @@ -570,7 +570,7 @@ async function uploadSecret( if (resp.status !== 204) { return { code: TalerErrorCode.ANASTASIS_REDUCER_NETWORK_FAILED, - hint: "could not upload policy", + hint: `could not upload truth (HTTP status ${resp.status})`, }; } @@ -631,7 +631,7 @@ async function uploadSecret( if (resp.status !== 204) { return { code: TalerErrorCode.ANASTASIS_REDUCER_NETWORK_FAILED, - hint: "could not upload policy", + hint: `could not upload policy (http status ${resp.status})`, }; } let policyVersion = 0; |