Skip to content

when listener handle a protocol, how to deal error? #176

@poria-cat

Description

@poria-cat
  • Version:0.18.0
  • Platform:linux
  • Subsystem:

Type: Question

Severity: Low

Description:

sometimes, when a listener peer handle, it may get some errors, like dialer offline.
How to deal with these errors? use console.log(error) may be a bad idea. If use hangup, I can't get peerInfo from Connection.

Steps to reproduce the error:

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/supportA question or request for supportstatus/deferredConscious decision to pause or backlog

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions