Skip to content

Console errors due to Cannot call fileName of undefined #41

@jonsadka

Description

@jonsadka

Any chance we can update Line 183 to include a null check for frame (i.e.if (!frame || !frame.fileName) {)? I haven't been able to track down the why of these errors, except that this error only happens after loading an external, third party JavaScript library.

The parameters being passed into const frame = ErrorStackParser.parse(stackInfo)[stackIndex]; which are causing the error are:

stackInfo = {
  "stack": "Error: stacktrace source",
  "message": "stacktrace source"
}
stackIndex = 1
frame = undefined

Screenshot

Screen Shot 2020-04-13 at 7 04 59 PM

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