We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 94d6f2b commit 00a0c22Copy full SHA for 00a0c22
dotnet/src/dotnetframework/GxClasses/Helpers/GXRestAPIClient.cs
@@ -383,7 +383,7 @@ public void RestExecute()
383
serviceuri += "/" + this.Location.BaseUrl.TrimEnd('/').TrimStart('/') + "/" + this.Location.ResourceName;
384
serviceuri += _queryString;
385
httpClient.HttpClientExecute( this.HttpMethod, serviceuri);
386
- this.ErrorCode = (httpClient.ErrCode == 0)? 1: httpClient.ErrCode;
+ this.ErrorCode = httpClient.ErrCode;
387
this.ErrorMessage = httpClient.ErrDescription;
388
this.StatusCode = httpClient.StatusCode;
389
this.StatusMessage = httpClient.ReasonLine;
0 commit comments