Error Report Not Found
This page is supposed to display an error reported by the GNU Taler wallet,
but the corresponding error report can't be found.
Maybe the error occured before the browser was restarted or the wallet was reloaded.
);
}
switch (report.name) {
default:
return (
Unknown Error
The GNU Taler wallet reported an unknown error. Here are the details:
{JSON.stringify(report, null, " ")}
);
}
}
}
async function main() {
const url = new URI(document.location.href);
const query: any = URI.parseQuery(url.query());
const container = document.getElementById("container");
if (!container) {
console.error("fatal: can't mount component, countainer missing");
return;
}
// report that we'll render, either looked up from the
// logging module or synthesized here for fixed/fatal errors
let report;
const reportUid: string = query.reportUid;
if (!reportUid) {
report = {
name: "missing-error",
};
} else {
report = await wxApi.getReport(reportUid);
}
ReactDOM.render(