Skip to content

fix: handle missing product file (PSDiagnostics.psm1) when checking catalog signature#13

Open
Mathieu Morrissette (MathieuMorrissette) wants to merge 1 commit intomasterfrom
fix-unsigned-file-crash
Open

fix: handle missing product file (PSDiagnostics.psm1) when checking catalog signature#13
Mathieu Morrissette (MathieuMorrissette) wants to merge 1 commit intomasterfrom
fix-unsigned-file-crash

Conversation

@MathieuMorrissette
Copy link
Copy Markdown

The signature validation logic attempted to check the catalog signature of PSDiagnostics.psm1 to verify catalog API availability.

If the file was missing on disk, this would result in an unhandled IOException. This fix ensures we catch that and safely mark CatalogApiAvailable as false.

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant