Skip to content

ld: catch and handle cleanup failures#54

Open
johnwparent wants to merge 2 commits into
spack:mainfrom
johnwparent:prevent-cleanup-failures
Open

ld: catch and handle cleanup failures#54
johnwparent wants to merge 2 commits into
spack:mainfrom
johnwparent:prevent-cleanup-failures

Conversation

@johnwparent

Copy link
Copy Markdown
Collaborator

Signed-off-by: John Parent john.parent@kitware.com

Signed-off-by: John Parent <john.parent@kitware.com>
Comment thread src/winrpath.cxx
<< e.what() << " (Error Code: " << e.code().value() << ")"
<< "\n";
return false;
}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks quite similar in both cases (the differences appear to be only cosmetic) - can this block be extracted into a function that is called in both spots?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, good call

Signed-off-by: John Parent <john.parent@kitware.com>
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

Successfully merging this pull request may close these issues.

2 participants