(backupName, entryName, error)
| 56 | } |
| 57 | |
| 58 | function _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 | |
| 66 | function _recoverInterruptedForceUpdateBootstrap() { |
| 67 | const fs = require('fs'); |
no outgoing calls
no test coverage detected