Commit c2011c0
fix(logger): make the response content of a failed api call available to an exception handler
this allows for the following code:
try:
vaultwarden_client.api_request(...)
except httpx.HTTPStatusError as e:
print(e.response.json())1 parent ea6dc57 commit c2011c0
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
14 | 16 | | |
0 commit comments