Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
fix: wrap postHog.identify() in try/catch to prevent unhandled rejections
Devin AI06ff9784a08d
diff --git a/backend/src/services/telemetry/telemetry-service.ts b/backend/src/services/telemetry/telemetry-service.tsindex 27c0e4cfe5..558cbc5935 100644--- a/backend/src/services/telemetry/telemetry-service.ts+++ b/backend/src/services/telemetry/telemetry-service.ts@@ -357,7 +357,11 @@ To opt into telemetry, you can set "TELEMETRY_ENABLED=true" within the environmesetTimeout(() => inMemoryIdentifyDedup.delete(distinctId), TELEMETRY_IDENTIFY_CACHE_TTL * 1000);}}- postHog.identify({ distinctId, properties });+ try {+ postHog.identify({ distinctId, properties });+ } catch (err) {+ logger.error(err, "Failed to call postHog.identify");+ }}}};