Skip to content

In the Javascript bridge, when there is no handler with the called handler name, provide a better error message. #120

@oveddan

Description

@oveddan

In the javascript bridge, right now, if you don't have a registered handler for a handlerName, and that handler is called from ios, you get an error message:

TypeError: undefined is not a function (evaluating 'handler(message.data, responseCallback)')

It would be great if you were given a better error message saying "No handler is registered for handlerName #{handlerName}"

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