Skip to content

err.message() is not a Function  #9

@hirocsingh

Description

@hirocsingh

Env - React Web App running on localhost.
Problems:
Network: CORS Error
Console:

  • err.message() is not a Function
  • err.message : Failed to fetch

Totango UI:

  • Some how I see the Activity Tracked.

image

Code:

        tracker.trackActivity(userInfo.data.Customer.id.toString(), userInfo.data.email, 'User Logged In', 'Some Module', function(err){
          if (err) { console.log(err.message()); } // If it's err.message - Failed to Fetch
          else {
              console.log('Successfuly tracked login - Totango')
          }
        });

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