Skip to content

Report error when not finding client #3

Description

@phillipj

When providing the client name or IP of client when using the PlexControl constructor and a matching client is not found on the Plex server, there is no way of knowing atm. As most actions on a PlexControl instance requires the client to have been resolved properly, swallowing resolve errors are very confusing.

Either emit a resolve-error-event or remove the second argument from the PlexControl constructor which forces everyone to use the .setClient() method after object instantiation which returns a promise already.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions