Skip to content

clearPerson function not working #144

@dav-armour

Description

@dav-armour

The clearPerson function does not seem to be working correctly.
See below for a simple example.

import { Client } from 'rollbar-react-native';
const rollbar = new Client('API_KEY');
rollbar.error('No user test') // This works correctly - no person exists
rollbar.setPerson('9ee1638b-6100-4b47-bcd3-ee88dccf2dab')
rollbar.error('User exists') // This works correctly - person exists
rollbar.clearPerson();
rollbar.error('User still exists???') // This does not work - error still has previously set person attached

Error Screen Shot

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