HttpStatusException should include body in the Exception
touchdown opened this issue · comments
Tony Zhao commented
can we have something like
case class HttpStatusException(
code: Int,
statusLine: String,
body: String
) extends RuntimeException(code + " Error: " + statusLine + "Body: " + body)
So we can forward the body of the exception to users from responses?
I can take that on if that makes sense
Gera Shegalov commented
we would like this addressed as well.