Skip to content

sql.js's process.on('uncaughtException') causing problems #173

@MrBlenny

Description

@MrBlenny

This library binds to uncaughtException as follows:

process['on']('uncaughtException', function(ex) {
    // suppress ExitStatus exceptions from showing an error
    if (!(ex instanceof ExitStatus)) {
      throw ex;
    }
  });

This causes incompatibilities with global uncaughtException handlers as seen in this issue - related to electron.
Can sql.js's uncaughtException handler be changed? What are the implications of removing it?

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