Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/code/V3ServerAPICalls.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1622,9 +1622,11 @@ private HttpContent HttpRequestCallForContent(string requestUrlV3, out ErrorReco
"HttpRequestCallForContentFailure",
ErrorCategory.InvalidResult,
this);

return null;
}

if (string.IsNullOrEmpty(content.ToString()))
if (content == null || string.IsNullOrEmpty(content.ToString()))
{
_cmdletPassedIn.WriteDebug("Response is empty");
}
Expand Down
Loading