MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / runAction

Function runAction

deployments/desktop/static/app.js:1438–1447  ·  view source on GitHub ↗
(fn)

Source from the content-addressed store, hash-verified

1436}
1437
1438async function runAction(fn) {
1439 try {
1440 await fn();
1441 } catch (error) {
1442 const message = localizeError(error.message || String(error));
1443 setStatus(message);
1444 window.alert(message);
1445 console.error(error);
1446 }
1447}
1448
1449async function boot() {
1450 bindEvents();

Callers 4

bindReportsEventsFunction · 0.70
switchViewFunction · 0.70
renderRolesFunction · 0.70
bindEventsFunction · 0.70

Calls 2

localizeErrorFunction · 0.85
setStatusFunction · 0.70

Tested by

no test coverage detected