Skip to content

Conversation

@v-lerie
Copy link
Collaborator

@v-lerie v-lerie commented Jun 23, 2025

Fixes #2340

Copy link
Collaborator

@anth-volk anth-volk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I left a couple comments here, but @v-lerie I think we should perhaps discuss what's going on here. I don't fully understand the underlying bug from this code, so would love to talk about implementation, as I think these changes move away from some behavior that we do desire.

@@ -1,3 +1,11 @@
from google.cloud.logging import Client
import os
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

issue, blocking: I believe this code is bleed-over from another PR.

Please remove so that we can keep those changes isolated to their own PR.


if row is None:
raise NotFound("No such user")
_, row = user_service.create_profile(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

issue, blocking: I don't think this is the behavior we want here

Ideally, we should raise a NotFound when a user doesn't exist, thereby returning a 404

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

User profile page displays error message for subset of users

3 participants