Include URI in post error

Fixes #307
This commit is contained in:
Andrew Godwin 2022-12-28 12:06:32 -07:00
parent 6137149f55
commit a2f0634cb2

View file

@ -245,7 +245,7 @@ class HttpSignature:
and response.status_code != 404
):
raise ValueError(
f"POST error: {response.status_code} {response.content}"
f"POST error to {uri}: {response.status_code} {response.content}"
)
return response