|
|
@ -256,7 +256,7 @@ public class ClientProxyBase<TService> : ITransientDependency |
|
|
new RemoteServiceErrorInfo |
|
|
new RemoteServiceErrorInfo |
|
|
{ |
|
|
{ |
|
|
Message = response.ReasonPhrase, |
|
|
Message = response.ReasonPhrase, |
|
|
Code = response.StatusCode.ToString(), |
|
|
Code = $"{(int)response.StatusCode}", |
|
|
Details = errorDescription |
|
|
Details = errorDescription |
|
|
}, |
|
|
}, |
|
|
ex |
|
|
ex |
|
|
@ -277,7 +277,7 @@ public class ClientProxyBase<TService> : ITransientDependency |
|
|
new RemoteServiceErrorInfo |
|
|
new RemoteServiceErrorInfo |
|
|
{ |
|
|
{ |
|
|
Message = response.ReasonPhrase, |
|
|
Message = response.ReasonPhrase, |
|
|
Code = response.StatusCode.ToString(), |
|
|
Code = $"{(int)response.StatusCode}", |
|
|
Details = errorDescription |
|
|
Details = errorDescription |
|
|
} |
|
|
} |
|
|
) |
|
|
) |
|
|
|