Skip to content

err and cause should be swapped in some places #20

@Powersource

Description

@Powersource

if (err) return cb(Error(err, { cause: 'ssb-ahoy failed to start SSB stack' }))

it should be

      if (err) return cb(Error('ssb-ahoy failed to start SSB stack', { cause: err }))

to get correct error propagation

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions