Skip to content

Commit 7b2dbd6

Browse files
committed
Log back-end response status code on error
1 parent 24c8a18 commit 7b2dbd6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bbblb/bbblib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ async def action(
185185
if response.status not in (200,):
186186
return make_error(
187187
"internalError",
188-
"Unexpected response status: {response.status}",
188+
f"Unexpected response status: {response.status}",
189189
response.status,
190190
)
191191
if expect_json and response.content_type == "application/json":

0 commit comments

Comments
 (0)