MCPcopy Create free account
hub / github.com/effector/effector / onCatch

Function onCatch

tools/builder/utils.ts:56–60  ·  view source on GitHub ↗
(error: any)

Source from the content-addressed store, hash-verified

54
55export function publishScript(name: string) {
56 const onCatch = (error: any) => {
57 if (booleanEnv(process.env.PRINT_ERRORS, false)) {
58 console.error(error)
59 }
60 }
61 return async () => {
62 const args = [...cliArgs.original]
63 if (args.length < 2) return

Callers 1

publishScriptFunction · 0.85

Calls 1

booleanEnvFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…