hypercore-storage 1.9.5 → 1.9.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/migrations/0/index.js +1 -1
- package/package.json +1 -1
package/migrations/0/index.js
CHANGED
|
@@ -373,7 +373,7 @@ async function core (core, { version, dryRun = true, gc = true }) {
|
|
|
373
373
|
}
|
|
374
374
|
|
|
375
375
|
const oplog = await readOplog(files.oplog)
|
|
376
|
-
if (!oplog) throw new Error('No oplog available for ' + files.oplog)
|
|
376
|
+
if (!oplog) throw new Error('No oplog available for ' + files.oplog + ', length = ' + (head ? head.length : 0) + ', writable = ' + (!!auth.keyPair))
|
|
377
377
|
|
|
378
378
|
const treeData = new TreeSlicer()
|
|
379
379
|
|