Skip to content

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

@devenrao

Description

@devenrao

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions