From 21c176a69ee04c4d59baedb79017f6c42ece22d6 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Fri, 25 Aug 2017 18:08:37 +0200 Subject: add rudimentary error reporting in a new tab --- src/webex/wxApi.ts | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/webex/wxApi.ts') 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 { export function returnCoins(args: { amount: AmountJson, exchange: string, senderWire: object }): Promise { return callBackend("return-coins", args); } + +export function logAndDisplayError(args: any): Promise { + return callBackend("log-and-display-error", args); +} + +export function getReport(reportUid: string): Promise { + return callBackend("get-report", { reportUid }); +} -- cgit v1.2.3