summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Matt Pietal <mpietal@google.com> 2024-10-08 18:21:16 +0000
committer Matt Pietal <mpietal@google.com> 2024-10-08 18:22:15 +0000
commit015f661fabfbade76e343002312340c275fcd500 (patch)
tree688165001a2b600752f08b43f802126525a3c448 /api/api.go
parenta8354625271712bc7f3c521c81ac7b3d46e4ec66 (diff)
Don't assume a non-null name on UserInfo
If the UserInfo record is present, the UI wants to display a name. It looks like there are certain conditions where this can be null, and it is allowed to be null. Instead of throwing an exception, log the user info and return an empty string. Fixes: 371365845 Test: manual - just added a null check Flag: EXEMPT bugfix Change-Id: If77c5ed962288f69c4da95832a78363d09b5fb12
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions