-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bugfix/do now swallow exceptions during verify (#141)
* Remove unused parameters from constructor Eliminated the utcDataService and signatureService parameters from the SecuredOnboardingService constructor as they were no longer in use. This cleanup helps streamline the code and improve readability. * Rename exception base class to include verification logic Renamed OnboardRevokeExceptionBase to OnboardRevokeOrVerifyExceptionBase to better reflect its purpose. Updated all derived exception classes to inherit from the new base class. * Simplify error handling in SecuredOnboardingService Replaced the detailed switch-case error handling with a more concise deserialization of error responses using OnboardErrorResponse class. This change improves readability and maintainability by centralizing error message construction within the OnboardException. --------- Co-authored-by: Frank-Wiebeler <[email protected]>
- Loading branch information
1 parent
e1b8312
commit 6a0589e
Showing
5 changed files
with
22 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters