-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vdk-core: BaseVdkError exception propagation flaw fix (#917)
There was an issue, where a particular exceptions were not propagating to the respective except(catch) clauses. The process was suddenly blindly exiting with code 1. Did troubleshoot the flaw to vdk-core's error framework, where BaseVdkError was extending ClickException without any purpose known/documented. That was causing all the BaseVdkError-based DomainErrors like VdkConfigurationError, UserCodeError, PlatformServiceError, and so on, to stop propagating to handlers. Did fix the errors framework design flaw. Testing Done: added the vdk_exception exit code test coverage, that relies on proper exception propagation and handling; ci/cd Signed-off-by: ikoleva <ikoleva@vmware.com>
- Loading branch information
Showing
6 changed files
with
21 additions
and
18 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
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