Skip to content

Change the console.error under emitInitialSession to a warn or info #1046

@lochoangwork

Description

@lochoangwork

Chore

Describe the chore

Change the following console.error to a console.warn or console.info instead.

console.error(err)

The reason for this is that this console.error would print whenever a user's session expired from inactivity or some other reason, and it would flood our logging services with Errors that aren't actually problems (false positives). By changing it to a non-error print, we do not see these more-or-less benign prints in our logs when we scope for errors.

We have actually manually patched this to be a warn instead in our own code.

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