Skip to content

uncaughtException catches exceptions from browser context #3061

Open
nwjs/blink
#17
@ghostoy

Description

@ghostoy

Test case:

<script>
process.on('uncaughtException', function(e) {
    console.log('caught!');
});
// following statement should throw a browser exception, but caught by `uncaughtException`
alert(NotDefinedVariable);
</script>

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions