cockroachdb / cockroachdb/sequelize-cockroachdb

Telemetry creates error log when using `Sequelize` without active connections

Aperta
#155 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
55
Fork
18
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Your `afterInit` hook assumes that the instance is actually connected, this may not be the case (especially in unit tests), I kindly request you add some code that checks if a connections exists before attempting to send telemetry.

Until then we are going to disable it via `cockroachdbTelemetryDisabled`.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.