Skip to content

Commit

Permalink
Merge pull request #75 from trapezoid/feature/trapezoid/httprequestex…
Browse files Browse the repository at this point in the history
…ception_innerexception

Problem of status code being StatusCode.Internal in Airplane mode, etc.
  • Loading branch information
mayuki authored Jul 2, 2024
2 parents 4d5a99e + 6c5bbb9 commit 31edb77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/YetAnotherHttpHandler/ResponseContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,8 @@ public async Task<HttpResponseMessage> GetResponseAsync()
}
catch (Exception e)
{
throw new HttpRequestException(e.Message);
throw new HttpRequestException(e.Message, e);
}
}
}
}
}

0 comments on commit 31edb77

Please sign in to comment.