Increase max body length

This commit is contained in:
Svilen Markov 2024-04-29 16:18:32 +01:00
parent 2eb8e71e89
commit 78572a534b

View File

@ -54,7 +54,7 @@ func decodeJsonFromRequest[T any](client RequestDoer, request *http.Request) (T,
"unexpected status code %d for %s, response: %s", "unexpected status code %d for %s, response: %s",
response.StatusCode, response.StatusCode,
request.URL, request.URL,
truncateString(string(body), 128), truncateString(string(body), 256),
) )
} }
@ -95,7 +95,7 @@ func decodeXmlFromRequest[T any](client RequestDoer, request *http.Request) (T,
"unexpected status code %d for %s, response: %s", "unexpected status code %d for %s, response: %s",
response.StatusCode, response.StatusCode,
request.URL, request.URL,
truncateString(string(body), 128), truncateString(string(body), 256),
) )
} }