Skip to content

nbserve: Handle username lookup failures - #536

Closed
mahveotm wants to merge 1 commit into
toolforge:mainfrom
mahveotm:fix-nbserve-user-lookup
Closed

mahveotm wants to merge 1 commit into
toolforge:mainfrom
mahveotm:fix-nbserve-user-lookup

Conversation

@mahveotm

Copy link
Copy Markdown

Return 404 for invalid or missing users and absent CentralAuth IDs. Return 502 when the Meta API request fails or its response cannot be decoded or has an unexpected structure.

Also, set an HTTP timeout and descriptive User-Agent, and stop logging successful response bodies at error level.

Return 404 for invalid or missing users and absent CentralAuth IDs. Return 502 when the Meta API request fails or its response cannot be decoded or has an unexpected structure.

Set an HTTP timeout and descriptive User-Agent, and stop logging successful response bodies at error level.
@mahveotm mahveotm closed this Nov 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant