Skip to content

Queue timer fires even when api key isn't configured #46

Closed

Description

@niemyjski

I setup Exceptionless.UI to not set the api key by default but events are still enqueued (I don't want them sent and rejected). However, I started seeing this in the console.

[info] Exceptionless: Enqueuing event: 1460562831592 type=usage  exceptionless.js:1285:13
[info] Exceptionless: user identity: [email protected] exceptionless.js:1285:13
[info] Exceptionless: Processing queue... exceptionless.js:1285:13
[info] Exceptionless: Invalid Api Key. The queue will not be processed. exceptionless.js:1285:13
[info] Exceptionless: Processing queue... exceptionless.js:1285:13
[info] Exceptionless: Invalid Api Key. The queue will not be processed. exceptionless.js:1285:13

It appears that we are triggering a timer to run even when configuration is invalid.

Activity

  1. added a commit that references this issue on Feb 23, 2023
    6be3e09
  2. niemyjski commented on Feb 23, 2023

    @niemyjski
    MemberAuthor

    The client will now display the following if no api key is configured.

    2023-02-23T00:57:55.106Z [warn] Exceptionless is not configured and will not process events.
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions