MCPcopy Create free account
hub / github.com/anus-dev/ANUS / onError

Function onError

packages/cli/src/utils/sandbox.ts:865–871  ·  view source on GitHub ↗
(err: Error)

Source from the content-addressed store, hash-verified

863 };
864
865 const onError = (err: Error) => {
866 console.warn(
867 `Failed to start '${sandbox} pull ${image}' command: ${err.message}`,
868 );
869 cleanup();
870 resolve(false);
871 };
872
873 const onClose = (code: number | null) => {
874 if (code === 0) {

Callers

nothing calls this directly

Calls 1

cleanupFunction · 0.70

Tested by

no test coverage detected