Skip to content

Conversation

@mkaszewiak
Copy link
Collaborator

Fixes #1971

@github-actions
Copy link

github-actions bot commented Nov 21, 2025

Test Results

    63 files  +    4      63 suites  +4   1h 2m 12s ⏱️ + 4m 44s
 2 067 tests ±    0   2 064 ✅ ±    0   3 💤 ±0  0 ❌ ±0 
34 951 runs  +2 342  34 912 ✅ +2 339  39 💤 +3  0 ❌ ±0 

Results for commit 230b53f. ± Comparison against base commit 9c7ea43.

♻️ This comment has been updated with latest results.

<IncludeFrameworkShims>true</IncludeFrameworkShims>
<TargetFrameworks>$(ProductTargetFrameworks)</TargetFrameworks>
</PropertyGroup>
<PropertyGroup>
Copy link
Member

Choose a reason for hiding this comment

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

looks like just whitespace change? tabs/spaces?

try
{
// TODO: should we delay load?
part = _openXmlPackage.Features.GetRequired<IPackageFeature>().Package.GetPart(uriTarget);
Copy link
Member

Choose a reason for hiding this comment

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

Could we make the Getpart return null when there's this failure? Then we can just check for a null

uriTarget.OriginalString, ex.Message);
throw new InvalidOperationException(errorMessage);
}
catch (Exception)
Copy link
Member

Choose a reason for hiding this comment

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

this isn't necessary

Copy link
Collaborator

@mikeebowen mikeebowen left a comment

Choose a reason for hiding this comment

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

LGTM

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.

'Specified part does not exist' error message is not helpful

3 participants