Skip to content

Logging errors from event handlers #102

@zdila

Description

@zdila

Hello,

First thanks for the great library.

I have a question about how to make errors thrown from handlers to be (at least) logged.

For example:

properties.on('PropertiesChanged', (iface, changed, invalidated) => {
  throw new Error('ew'); // this is not loged anywhere
});

Thanks.

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