Skip to content

Async functionality should propagate the errors/exceptions to the caller #68

@MaticPogacnik

Description

@MaticPogacnik

Recently the asyncGet was added, which works as expected.
But the exceptions (e.g. Timeout) are just logged and not propagated to the user.

I see two possibilities how this could be added (there are probably more):

  • Add a separate callback, which is called on the error.
  • Add extra arguments to the existing callback, which provide the status information.

@sveseli

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