Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion src/sentry/integrations/vercel/integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,14 @@ def post_install(
)
return

user = User.objects.get(id=extra.get("user_id"))
user_id = extra.get("user_id")
if user_id is None:
logger.error(
"vercel.post_install.missing_user_id",
extra={"organization_id": organization.id},
)
return
user = User.objects.get(id=user_id)
# create the internal integration and link it to the join table
sentry_app = SentryAppCreator(
name="Vercel Internal Integration",
Expand Down
Loading