exceptionless / Exceptionless.JavaScript

Exceptionless JavaScript client
http://exceptionless.com
Apache License 2.0
59 stars 24 forks source link

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

Closed niemyjski closed 1 year ago

niemyjski commented 8 years ago

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: abc@gmail.com 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.

niemyjski commented 1 year ago

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.