We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I got an error:
TypeError: Cannot read properties of null (reading '1') at getCallee.ts (17:17)
TypeError: Cannot read properties of null (reading '1')
The problem is result is null when I have error like this:
result
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
The text was updated successfully, but these errors were encountered:
I looking into the typescript code and its different from the js code on the dist folder on the package.
for example: const filePath = result?.[1] ?? '' should be ignored when the result is null. but in the package, its have no if.
const filePath = result?.[1] ?? ''
Maybe compile it and release new version to fix that.
Sorry, something went wrong.
No branches or pull requests
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:https://github.com/epegzz/winston-dev-console/blob/master/src/getCallee.ts#L13
The text was updated successfully, but these errors were encountered: