Open 0xced opened 2 months ago
Name | Link |
---|---|
Latest commit | 3a0cac8cf9c382d808462c9145099f36590a88ce |
Latest deploy log | https://app.netlify.com/sites/testcontainers-dotnet/deploys/674501aef7ce880008114362 |
Deploy Preview | https://deploy-preview-1263--testcontainers-dotnet.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
What does this PR do?
This pull request improves error handling while reading the Docker context configuration file. It throws a new
DockerConfigurationException
instead of silently failing.Also, since
GetCurrentEndpoint()
can't returnnull
anymore there's no need to try the defaultGetSocketPathFromHomeDesktopDir()
andGetSocketPathFromHomeRunDir()
socket paths.Why is it important?
Silently returning
null
instead of throwing proper exceptions makes it harder to diagnose issues.Related issues
How to test this PR
The
DockerConfigTests
were updated and a newThrowsWhenDockerConfigEndpointNotFound
test was added.