try catch to tryand see error??

This commit is contained in:
Tom Pallister 2017-10-10 17:33:42 +01:00
parent 261f6130c8
commit d4f972125e

View File

@ -419,6 +419,8 @@ private void PublishPackages(ConvertableDirectoryPath packagesDir, ConvertableFi
/// gets the resource from the specified url /// gets the resource from the specified url
private string GetResource(string url) private string GetResource(string url)
{
try
{ {
Information("Getting resource from " + url); Information("Getting resource from " + url);
@ -438,6 +440,12 @@ private string GetResource(string url)
return response; return response;
} }
} }
catch(Exception exception)
{
Information("There was an exception " + exception);
throw;
}
}
private bool ShouldPublishToUnstableFeed(string filter, string branchName) private bool ShouldPublishToUnstableFeed(string filter, string branchName)
{ {