Skip to content
This repository was archived by the owner on Jan 7, 2022. It is now read-only.

Make sure to populate the multidat error back up the stack #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function Multidat (db, cb) {
assert.equal(typeof cb, 'function', 'multidat: cb should be type function')

multidrive(db, createArchive, closeArchive, function (err, drive) {
if (err) return cb(explain(err, 'multidat: error creating multidrive'))
if (err) return cb(err)
var multidat = {
readManifest: readManifest,
create: create,
Expand Down