Skip to content

Commit

Permalink
Merge branch 'Chavithra:main' into b-aeby-patch-3
Browse files Browse the repository at this point in the history
  • Loading branch information
b-aeby authored Dec 19, 2021
2 parents dafb51a + 227b73c commit e950396
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions degiro_connector/trading/actions/action_confirm_order.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,11 +140,11 @@ def confirm_order(
except requests.HTTPError as e:
status_code = getattr(response_raw, "status_code", "No status_code found.")
text = getattr(response_raw, "text", "No text found.")
response_dict = getattr(response_raw, "json", "No json found.")
logger.fatal(status_code)
logger.fatal(text)
logger.fatal(response_dict)
if raw is True:
response_dict = response_raw.json()
logger.fatal(response_dict)
return response_dict
else:
return None
Expand Down

0 comments on commit e950396

Please sign in to comment.