Skip to content

Need SyntaxError location when require() failed in uncaughtException handler #5297

Closed
@strrchr

Description

@strrchr

After search, I found these two issues related:
#3784
#4013

It seems node-5.2 fix this bug.
But after I install node-5.6, I found it only be fixed in REPL.
In script require() another script, these is no locatoin infomation when require() failed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateIssues and PRs that are duplicates of other issues or PRs.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions