-
Notifications
You must be signed in to change notification settings - Fork 904
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exception if no source is enabled #490
Comments
Latest version I assume? I knew about this error, I'm not sure if it is already logged or not. |
It is not yet logged. Thanks! |
Yes, with 0.9.9.11 |
I would like to tackle this one. |
@MikeFoden Sweet! Read over the CONTRIBUTING doc to make sure you don't have any issues with the workflow or signing the CLA, then target the stable branch with your changes. |
@ferventcoder I've put through #547 for this issue. I didn't do it correctly with #546 so I closed it - sorry! I'm still pretty new at contributing to open source. |
Previously if no sources were available during installation of a package, installation would fail with an exception. This fix will make the choco client check the source list to make sure it is not null before attempting to install, update, or list packages.
* stable: (GH-490) Exception if no source is enabled
If I have all my sources disabled and try to install a package a null reference exception is thrown:
Better would be if the exception is handled and instead an error message is displayed informing the user that no source is available.
The text was updated successfully, but these errors were encountered: