MCPcopy Create free account
hub / github.com/EvoMap/evolver / _failClosedForceUpdateBootstrap

Function _failClosedForceUpdateBootstrap

index.js:58–64  ·  view source on GitHub ↗
(backupName, entryName, error)

Source from the content-addressed store, hash-verified

56}
57
58function _failClosedForceUpdateBootstrap(backupName, entryName, error) {
59 const detail = error && error.message ? error.message : String(error || 'unknown error');
60 console.error('[ForceUpdate] Bootstrap recovery failed for ' + backupName +
61 (entryName ? ' while restoring ' + entryName : '') + ': ' + detail);
62 console.error('[ForceUpdate] Refusing to continue startup; recovery backup and journal were left in place.');
63 process.exit(1);
64}
65
66function _recoverInterruptedForceUpdateBootstrap() {
67 const fs = require('fs');

Calls

no outgoing calls

Tested by

no test coverage detected