Skip to content
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

captureffdc method returns exception object and also throws exception object #49

Open
devenrao opened this issue Sep 1, 2022 · 0 comments

Comments

@devenrao
Copy link
Contributor

devenrao commented Sep 1, 2022

It does not look correct the method captureFFDC throws an sbe_error_t exception object and the method also throws multiple sbe_error_t exceptions this does not look standard or normal.

Probably the owner choose this mechanism as captureFFDC creates an temporary FFDC file and passes the FD which I guess he could not achieve by using exceptions.
https://github.com/open-power/ipl/blob/main/libphal/phal_sbe.C#L221

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant