JetBrains/teamcity-nuget-support — pull request #2 by BenPhegan (2012-10-22 01:00:38+00:00)
Title: Fix crash on incorrect URI in NuGet trigger

Hi,

This fix is related to an issue when a trigger is entered with an incorrect NuGet server URL. In this instance, it appears that the plugin will fail to check any packages that are provided in that run.

This simply check validity of the URI prior to creating an IQueryable set of packages, and alert via logging rather than blow up.

Also a tiny little typo fix.

Note: No tests are provided. I would be happy to add them, but first it would probably help if I had a chat about how they are currently set up and what the expectation for success are, as at the moment even without these changes I can only get 10 out of 124 tests to pass (28 ignored).

Regards,

Ben Phegan