Closed PeterLefebvre closed 1 year ago
Thanks for reporting. Working on it now to make sure no exception is thrown if there is no ping possible. In that case I would return a "no sucess" from the ping.
Fixed it and changed the output when those functions are used from "debug" to "information" so they can be output and give information why and when this is used. But it should not throw an exception anymore.
Steps to reproduce
Expected behavior
I expected that...
in disconnected environments, the import-module does not fail.
Actual behavior?
I had the following actual outcome...
I encountered this first at work, as we have a rather restricted environment. Ping and test-connection to github.com gets blocked or the DNS cannot be resolved correctly. Using a Browser I can go to github.com, but we pass a forced proxy.
In 'interactive mode', I can ignore the errors, but when running in a CI/CD pipeline, I fear this could be problematic.
Have not seen this behaviour yet in versions below 7.6.0.
PS: Above steps to reproduce is from my home workstation, where I just simulated the behaviour with a disabled network adapter.
On Which OS have you tried it?
Windows
What was your server version?
other (specify)
Other server version
not even connected to server yet, error message thrown at import
Log output of used API
Log output of $PSVersionTable