SumoLogic / js-sumo-logger

Sumo Logic JavaScript SDK for Logging
Apache License 2.0
45 stars 26 forks source link

Crashed NodeJS API If Load Is Full. #129

Open xmarkclx opened 1 year ago

xmarkclx commented 1 year ago

I had my credits for the day full. It crashed our API.

We have all our sumologger.log calls in a try catch as well and it still crashes. Same on frontend but at least it only shows the errors on the console.

I think it is throwing an exception when it can't connect, not even when it is trying to log something. Is there a way for it to just fail silently?

For now we just disabled SumoLogger for our NextJS site and api, as it is an ecom site and we are losing money if SumoLogger does this.