⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content

Conversation

@anamnavi
Copy link
Member

@anamnavi anamnavi commented Jan 12, 2026

If a local repository is registered that is not available (for example private repository when machine is out of office), then an error is thrown. In the case where multiple repositories were requested to be checked, the error gets swallowed up and the user is not informed about the error. This PR ensures that the error is caught and populated in ErrorRecord and a warning is additionally written.

Note: With this fix an error and warning will both be written. A future fix will be made to ensure only 1 is written, but breaking up the fix so it can be taken in this release.

PR Summary

PR Context

Resolves #1923

PR Checklist

@anamnavi
Copy link
Member Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@anamnavi
Copy link
Member Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@anamnavi anamnavi marked this pull request as draft January 13, 2026 22:09
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.

Find-PSResource stops searching, when one of registered repositories is not available.

3 participants