diff options
author | Florian Dold <florian.dold@gmail.com> | 2017-08-25 18:08:37 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2017-08-25 18:08:37 +0200 |
commit | 21c176a69ee04c4d59baedb79017f6c42ece22d6 (patch) | |
tree | 80ab7dd089f796f678d7fb5e4df892571c4eee28 /src/webex/wxApi.ts | |
parent | bf70e752b67b24592a2ef0b4a6303c256f69ff86 (diff) | |
download | wallet-core-21c176a69ee04c4d59baedb79017f6c42ece22d6.tar.xz |
add rudimentary error reporting in a new tab
Diffstat (limited to 'src/webex/wxApi.ts')
-rw-r--r-- | src/webex/wxApi.ts | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/webex/wxApi.ts b/src/webex/wxApi.ts index 1371e27e4..306406a1a 100644 --- a/src/webex/wxApi.ts +++ b/src/webex/wxApi.ts @@ -321,3 +321,11 @@ export function getSenderWireInfos(): Promise<SenderWireInfos> { export function returnCoins(args: { amount: AmountJson, exchange: string, senderWire: object }): Promise<void> { return callBackend("return-coins", args); } + +export function logAndDisplayError(args: any): Promise<void> { + return callBackend("log-and-display-error", args); +} + +export function getReport(reportUid: string): Promise<void> { + return callBackend("get-report", { reportUid }); +} |