Skip to content

Cannot read property 'indexOf' of undefined #567

Closed
@dhritzkiv

Description

@dhritzkiv

Problem comes at L904 of /dist/raven. Sometimes xhr requests are made without url.

A simple fix might be:

if (url && url.indexOf(self._globalKey) === -1) {

or

url = url || "";

if (url.indexOf(self._globalKey) === -1) {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions