Skip to content

Commit 69d349c

Browse files
MCOL-4905: log exact status code
1 parent 5716ee0 commit 69d349c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmapi/cmapi_server/helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ def start_transaction(
179179
# conditions where that is the desired behavior here.
180180
if int(r.status_code / 100) == 4:
181181
logging.debug(
182-
'Got a 4xx error while beginning transaction '
182+
'Got a {r.status_code} error while beginning transaction '
183183
f'with response text {r.text}'
184184
)
185185
break # TODO: useless, got break in finally statement

0 commit comments

Comments
 (0)