From cd07b84da081f24e5feb11546c45e73c25cd59ae Mon Sep 17 00:00:00 2001 From: Christinarlong Date: Fri, 20 Sep 2024 14:22:20 -0700 Subject: [PATCH] figure out what type user is --- .../sentry_apps/api/endpoints/sentry_app_installations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sentry/sentry_apps/api/endpoints/sentry_app_installations.py b/src/sentry/sentry_apps/api/endpoints/sentry_app_installations.py index a0d811f2095951..6e3f80020103d0 100644 --- a/src/sentry/sentry_apps/api/endpoints/sentry_app_installations.py +++ b/src/sentry/sentry_apps/api/endpoints/sentry_app_installations.py @@ -93,7 +93,7 @@ def post(self, request: Request, organization) -> Response: except SentryAppInstallation.DoesNotExist: assert isinstance( request.user, User - ), "user must be authenticated to create a SentryAppInstallation" + ), f"user must be authenticated to create a SentryAppInstallation, currently is {type(request.user)}" install = SentryAppInstallationCreator( organization_id=organization.id, slug=slug, notify=True ).run(user=request.user, request=request)