Skip to content

Methods just return undefined if node is unreachable #63

@CherryDT

Description

@CherryDT
> c=new sotez.default('http://dummy:1234')
> await c.getBalance('tz1RvhdZ5pcjD19vCCK9PgZpnmErTba3dsBs')
undefined

This is pretty unexpected, it should throw an error instead (ideally a descriptive one).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions