MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / onError

Function onError

src/lib/console.js:682–685  ·  view source on GitHub ↗
(err)

Source from the content-addressed store, hash-verified

680 }
681
682 function onError(err) {
683 const error = err.error;
684 log("error", getStack(error, true), error);
685 }
686
687 function escapeHTML(str) {
688 if (typeof str !== "string") return str;

Callers

nothing calls this directly

Calls 2

getStackFunction · 0.85
logFunction · 0.70

Tested by

no test coverage detected