Skip to content
This repository was archived by the owner on Apr 17, 2023. It is now read-only.
This repository was archived by the owner on Apr 17, 2023. It is now read-only.

Client gets null pointer exception when connection tag is disabled #256

Open
@MikeyBurkman

Description

@MikeyBurkman

This is related to this PR: #213

When the connection tag is disabled, all the parameters passed to the error callback, including req, are apparently undefined. That PR assumes that req is defined, even though there's an explicit check for req not being there a couple lines above it. Line 86 in initializer.js thus throws a null pointer instead of calling the callback with the appropriate error.

https://github.com/feedhenry/fh-js-sdk/blob/2.23.0/src/modules/initializer.js#L86

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