Skip to content

The regex return null on line.match #3

@wizardnet972

Description

@wizardnet972

I got an error:

TypeError: Cannot read properties of null (reading '1') at getCallee.ts (17:17)

The problem is result is null when I have error like this:

       at someFunction (C:\\code\\prj\\dist\\apps\\my-app\\webpack:\\prj\\dist\\apps\\main.ts:38:7)

https://github.com/epegzz/winston-dev-console/blob/master/src/getCallee.ts#L13

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