Skip to content

Commit 0025511

Browse files
MCOL-4905: log exact status code
1 parent ff9621d commit 0025511

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
@@ -188,7 +188,7 @@ def start_transaction(
188188
# conditions where that is the desired behavior here.
189189
if int(r.status_code / 100) == 4:
190190
logging.debug(
191-
'Got a 4xx error while beginning transaction '
191+
'Got a {r.status_code} error while beginning transaction '
192192
f'with response text {r.text}'
193193
)
194194
break # TODO: useless, got break in finally statement

0 commit comments

Comments
 (0)