throw
This commit is contained in:
@ -153,6 +153,7 @@ namespace nuget_cli
|
|||||||
Console.Error.WriteLine("Stack trace:");
|
Console.Error.WriteLine("Stack trace:");
|
||||||
Console.Error.WriteLine(rex.StackTrace);
|
Console.Error.WriteLine(rex.StackTrace);
|
||||||
#endif
|
#endif
|
||||||
|
throw;
|
||||||
}
|
}
|
||||||
}, httpWebRequest);
|
}, httpWebRequest);
|
||||||
|
|
||||||
@ -170,7 +171,6 @@ namespace nuget_cli
|
|||||||
|| hrep.StatusCode == HttpStatusCode.OK;
|
|| hrep.StatusCode == HttpStatusCode.OK;
|
||||||
}
|
}
|
||||||
else throw new Exception("Invalid server response type");
|
else throw new Exception("Invalid server response type");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
Reference in New Issue
Block a user