-
Notifications
You must be signed in to change notification settings - Fork 8.5k
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
GetGuid noexcept Fix #3806
GetGuid noexcept Fix #3806
Conversation
No feedback from the Azure pipeline
catch (...) | ||
{ | ||
LOG_CAUGHT_EXCEPTION(); | ||
} |
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.
You should be able to replace this with CATCH_LOG();
I think.
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.
That makes sense. I thought something was off with this.
Wonder what the deal is with x86 build? Stalled out at unit testing. |
/azp run It happens sometimes 😄 |
Command 'run
It' is not supported by Azure Pipelines.
See additional documentation. |
really? /azp run |
Thanks for the re-run 🎉 |
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.
Yep this looks good to me!
Hello @zadjii-msft! Because this pull request has the p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (
|
🎉 Handy links: |
Summary of the Pull Request
Fixed the noexcept specifier on
GetGuid
, and correctedFindProfile
andFindGuid
so they don't throw. Also, adjustedSettingsTests
to reflect these changes.References
PR Checklist
SettingsTests
Detailed Description of the Pull Request / Additional comments
The
noexcept
specifier onGetGuid
was not removed whenProfile
was updated tostd::optional<GUID>
. This PR fixes that and modifies two helper functionsFindProfile
andFindGuid
inCascadiaSettings
to work correctly ifGetGuid
does throw.Validation Steps Performed
Updated the
TestHelperFunctions
test group inSettingsTests
and made sure the tests pass.