[PR #2927] teach wil about c++/winrt exceptions by including cppwinrt.h #25157

Closed
opened 2026-01-31 09:07:39 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/2927

State: closed
Merged: Yes


It turns out that if you CATCH_LOG without including this file, and you
end up catching a C++/WinRT hresult_exception, IT TURNS IT INTO A
FAILFAST.

Fixes #2591
Fixes #2881
Fixes #2807

PR Checklist

  • Closes some issues
  • author works here
  • Tests still pass
  • Requires documentation to be updated
  • I've discussed this with core contributors already.

Validation Steps Performed

Really went ham on the clipboard. Like, wow.

**Original Pull Request:** https://github.com/microsoft/terminal/pull/2927 **State:** closed **Merged:** Yes --- It turns out that if you CATCH_LOG without including this file, and you end up catching a C++/WinRT hresult_exception, IT TURNS IT INTO A FAILFAST. Fixes #2591 Fixes #2881 Fixes #2807 ## PR Checklist * [x] Closes some issues * [x] author works here * [x] Tests still pass * [ ] ~Requires documentation to be updated~ * [x] I've discussed this with core contributors already. ## Validation Steps Performed Really went ham on the clipboard. Like, wow.
claunia added the pull-request label 2026-01-31 09:07:39 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#25157