Skip to content

[1.8-stable CP] Fix: Deployment exceptions masked as ERROR_UNHANDLED_EXCEPTION; SetLastFailure logging single chars#6330

Open
agniuks wants to merge 6 commits intorelease/1.8-stablefrom
user/agnel/telemetryfixes18
Open

[1.8-stable CP] Fix: Deployment exceptions masked as ERROR_UNHANDLED_EXCEPTION; SetLastFailure logging single chars#6330
agniuks wants to merge 6 commits intorelease/1.8-stablefrom
user/agnel/telemetryfixes18

Conversation

@agniuks
Copy link
Contributor

@agniuks agniuks commented Mar 23, 2026

CP'ing: #6323

@agniuks agniuks changed the title Fix: Deployment exceptions masked as ERROR_UNHANDLED_EXCEPTION; SetLa… [1.8-stable CP] Fix: Deployment exceptions masked as ERROR_UNHANDLED_EXCEPTION; SetLastFailure logging single chars Mar 23, 2026
@agniuks
Copy link
Contributor Author

agniuks commented Mar 23, 2026

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

{
const HRESULT hr{ e.code() };
const HRESULT hr = [&]() -> HRESULT {
if (WinAppSdk::Containment::IsChangeEnabled<WINAPPSDK_CHANGEID_61543987>())
Copy link
Member

Choose a reason for hiding this comment

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

this is trickier to separate out with containment, but I'm ok with this technique

@agniuks
Copy link
Contributor Author

agniuks commented Mar 24, 2026

/azp run

@agniuks agniuks requested a review from Scottj1s March 24, 2026 16:59
@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

}
else
{
m_lastFailure.file = std::wstring(1, *failure.pszFile);
Copy link
Member

Choose a reason for hiding this comment

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

can't just leave original line?

Suggested change
m_lastFailure.file = std::wstring(1, *failure.pszFile);
m_lastFailure.file = *failure.pszFile;

Copy link
Contributor Author

Choose a reason for hiding this comment

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

oh yeah, that's bad! I need to draft up a containment skill.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants