anastasis: more verbose hint
This commit is contained in:
parent
fdc36b4fb7
commit
03518ced48
@ -570,7 +570,7 @@ async function uploadSecret(
|
|||||||
if (resp.status !== 204) {
|
if (resp.status !== 204) {
|
||||||
return {
|
return {
|
||||||
code: TalerErrorCode.ANASTASIS_REDUCER_NETWORK_FAILED,
|
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) {
|
if (resp.status !== 204) {
|
||||||
return {
|
return {
|
||||||
code: TalerErrorCode.ANASTASIS_REDUCER_NETWORK_FAILED,
|
code: TalerErrorCode.ANASTASIS_REDUCER_NETWORK_FAILED,
|
||||||
hint: "could not upload policy",
|
hint: `could not upload policy (http status ${resp.status})`,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
let policyVersion = 0;
|
let policyVersion = 0;
|
||||||
|
@ -73,7 +73,14 @@ export interface ReducerStateBackup {
|
|||||||
*/
|
*/
|
||||||
policy_providers?: PolicyProvider[];
|
policy_providers?: PolicyProvider[];
|
||||||
success_details?: SuccessDetails;
|
success_details?: SuccessDetails;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Currently requested payments.
|
||||||
|
*
|
||||||
|
* List of taler://pay URIs.
|
||||||
|
*/
|
||||||
payments?: string[];
|
payments?: string[];
|
||||||
|
|
||||||
policy_payment_requests?: {
|
policy_payment_requests?: {
|
||||||
payto: string;
|
payto: string;
|
||||||
provider: string;
|
provider: string;
|
||||||
|
Loading…
Reference in New Issue
Block a user