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)