mirror of
https://github.com/supabase/supabase.git
synced 2026-10-09 03:15:06 +03:00
fix(telemetry): report to Sentry when organization_creation_completed is reached without a tier
This commit is contained in:
1 file changed
+2
-1
@@ -1,4 +1,5 @@
|
||||
import { zodResolver } from '@hookform/resolvers/zod'
|
||||
import * as Sentry from '@sentry/nextjs'
|
||||
import { Elements } from '@stripe/react-stripe-js'
|
||||
import type { PaymentIntentResult, PaymentMethod, StripeElementsOptions } from '@stripe/stripe-js'
|
||||
import { loadStripe } from '@stripe/stripe-js'
|
||||
@@ -305,7 +306,7 @@ export const NewOrgForm = ({
|
||||
{ organization: org.slug }
|
||||
)
|
||||
} else {
|
||||
console.warn(
|
||||
Sentry.captureMessage(
|
||||
'organization_creation_completed not emitted: submittedTier ref was not set before org creation completed'
|
||||
)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user