Skip to content

connect -> incomplete error message when missing parameters #14

@maverick-zhn

Description

@maverick-zhn

To replicate the issue (I am missing the type of connection):

this.oada = await connect({ domain: this.domain, token: this.token })
      .catch(e => {
        console.log("Error -> failed to connect to OADA. The error was ", e);
      });

I got this:

Error -> failed to connect to OADA. The error was  TypeError: emitter.once is not a function

A more descriptive error message is needed.

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