frappe / press

Full service cloud hosting for the Frappe stack - powers Frappe Cloud
https://frappe.cloud
GNU Affero General Public License v3.0
259 stars 187 forks source link

fix: posthog start session recording error #1992

Closed tanmoysrt closed 2 months ago

tanmoysrt commented 2 months ago

Related DASHBOARD-V2-3W8

The error may be thrown when posthog js SDK is not correctly loaded for any reason (can be network issue, or posthog server issue). After this changes, posthog will try to do session recording/capturing only if posthog is loaded successfully.