Details
-
Improvement
-
Resolution: Outdated
-
Neutral
-
None
-
None
-
None
-
None
Description
When calling
PasswordRegistry#getPassword(id)
and if there is no password by the given id,
the method throws Registry.NoSuchDefinitionException,
which seems a bit harsh.
I propose to add this to the method signature.
Or catching the error and returning null.
Checklists
Acceptance criteria