forked from oamg/convert2rhel
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change the way Restores work on error. (oamg#912)
* Previously, if a RestorableChange managed by BackupController raised an exception on restore, then we would stop rollback. This change makes it so we try to restore every change even if previous ones have failed. * Add the name of the RestorableChange which failed. We can retrieve the class name from the Change instance to display in the error message. This isn't perfect but it identifies where the error occurred a little better than just the exception message. Thanks to Rodolfo for suggesting this. Co-authored-by: Preston Watson <[email protected]>
- Loading branch information
Showing
4 changed files
with
186 additions
and
66 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