Skip to content

Commit 4c32a14

Browse files
committed
Merge pull request #477 from mbp/populate-errorexception
Remember to map ErrorException along with other properties
2 parents 4232107 + ca961de commit 4c32a14

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

RestSharp/Extensions/ResponseExtensions.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ public static IRestResponse<T> toAsyncResponse<T>(this IRestResponse response)
1515
ContentLength = response.ContentLength,
1616
ContentType = response.ContentType,
1717
Cookies = response.Cookies,
18+
ErrorException = response.ErrorException,
1819
ErrorMessage = response.ErrorMessage,
1920
Headers = response.Headers,
2021
RawBytes = response.RawBytes,

0 commit comments

Comments
 (0)