Skip to content

Device discovery crashes upon invalid device response #8

@seijikun

Description

@seijikun

At the moment, device discovery seems to tightly expect devices to follow the standard.
Though I've seen stuff like:

  • Random sections of the xml missing
  • The device just responding with nothing (xml is just empty string)

At the moment, these things crash the application - mostly in unwrap() calls.
Would it be possible to have the library catch and ignore these cases?

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