Skip to content

Catch a couple uncaught exceptions#22

Merged
bbobrov merged 2 commits intostable/zed-m3from
stable/zed-silent-credentials
Nov 23, 2023
Merged

Catch a couple uncaught exceptions#22
bbobrov merged 2 commits intostable/zed-m3from
stable/zed-silent-credentials

Conversation

@bbobrov
Copy link
Copy Markdown
Collaborator

@bbobrov bbobrov commented Nov 23, 2023

2 changes to catch uncaught exceptions

Change-Id: Iccc7015ae715dea29f76d9be09d21c850aaa9b7e
The operation of getting the user and setting last_active_at is not
atomary. There might be situations where the user does not exist already,
an uncaught exception is getting raised.

Check that the user ref is not empty before modifying it.

Change-Id: Idf96a3670cc842128c8515a398e4447227496f28
@bbobrov bbobrov changed the title Stable/zed silent credentials Catch a few uncaught exceptions Nov 23, 2023
@bbobrov bbobrov changed the title Catch a few uncaught exceptions Catch a couple uncaught exceptions Nov 23, 2023
@bbobrov bbobrov merged commit f470795 into stable/zed-m3 Nov 23, 2023
@bbobrov bbobrov deleted the stable/zed-silent-credentials branch December 20, 2023 14:20
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.

1 participant