Skip to content

Can not set Http interface when invoked from webworker #853

Closed
@zeroX-tj

Description

@zeroX-tj

We've been trying to get the User-Agent show up at the error report in Sentry. https://forum.sentry.io/t/raven-js-angular-2-unknown-browser-device/925

We run our code in a webworker which does not have a document but does have a navigator available. Unfortunatly _getHttpData returns too soon to set the headers because of the check on hasDocument and location.

It would be nice if at least the user-agent could be set.

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