1.4.7 bank res log w full info

This commit is contained in:
SDE
2024-07-09 16:17:00 +03:00
parent 890986c5de
commit 15340d254c

View File

@@ -100,8 +100,8 @@ def create_order(data):
) )
msg = f'create_order answer received = {str(res)}' msg = f'create_order answer received = {str(res)}'
if res:# and res.status_code > 300: # if res:# and res.status_code > 300:
msg += f' > ({str(res.text)})' msg += f' > ({str(res.text)})'
print(msg) print(msg)
except Exception as e: except Exception as e:
msg = f'Exception create_order POST {url} = {str(e)} ({str(res)})' msg = f'Exception create_order POST {url} = {str(e)} ({str(res)})'