Skip to content

Unifile throws error instead of rejecting Promise #148

@lexoyo

Description

@lexoyo

Hi @JbIPS

I found cases where unifile throws error instead of a "rejected" Promise

For example when you call unifile.readdir with a service which does not exist, it throws the error Error: Unknown connector: fs instead of returning Promise.reject with this same error

Am I mistaken? Is this the intended behaviour?

Thx!

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