-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed EH and error reporting in restore_from #3583
Conversation
Signed-off-by: Boris Fomitchev <[email protected]>
Signed-off-by: Boris Fomitchev <[email protected]>
Well, I realized the actual problem was fixed in main right before ... so that fix only streamlines flow and improves formatting. |
The other changes look great |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm
* Fixed EH and error reporting in restore_from Signed-off-by: Boris Fomitchev <[email protected]> * --amend Signed-off-by: Boris Fomitchev <[email protected]> * Fixed merge issue Signed-off-by: Boris Fomitchev <[email protected]> Co-authored-by: Eric Harper <[email protected]>
Signed-off-by: Boris Fomitchev [email protected]
What does this PR do ?
Fixes 'lost cascading error info' due to constructor not being under try:.
As a result, my previously added code to save initial error was not executed.
Also streamlined control flow in that block.
Collection: [Note which collection this PR will affect]
Changelog
Usage
# Add a code snippet demonstrating how to use this
Before your PR is "Ready for review"
Pre checks:
PR Type:
If you haven't finished some of the above items you can still open "Draft" PR.
Who can review?
Anyone in the community is free to review the PR once the checks have passed.
Contributor guidelines contains specific people who can review PRs to various areas.
Additional Information