Skip to content

Conversation

@anamnavi
Copy link
Member

@anamnavi anamnavi commented Jan 5, 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.

PR Summary

PR Context

Resolves #1923

PR Checklist

annavied_microsoft added 2 commits January 6, 2026 14:24
@anamnavi
Copy link
Member Author

anamnavi commented Jan 8, 2026

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@anamnavi
Copy link
Member Author

anamnavi commented Jan 8, 2026

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@anamnavi
Copy link
Member Author

anamnavi commented Jan 9, 2026

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@anamnavi
Copy link
Member Author

anamnavi commented Jan 9, 2026

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

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.

2 participants