Skip to content

Commit

Permalink
Remove password from error logs
Browse files Browse the repository at this point in the history
  • Loading branch information
kdp-cloud committed Jan 2, 2025
1 parent a394e6d commit de21fb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mars-cli/mars_lib/submit.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ def submit_to_ena(
else result.request.body or ""
)
raise requests.HTTPError(
f"Request towards ENA failed!\nRequest:\nMethod:{result.request.method}\nStatus:{result.status_code}\nURL:{result.request.url}\nHeaders:{result.request.headers}\nBody:{body}"
f"Request towards ENA failed!\nRequest:\nMethod:{result.request.method}\nStatus:{result.status_code}\nURL:{submission_url}\nParams: {{'webinUserName': {params.get("webinUserName")}, 'webinPassword': ****}}\nHeaders:{result.request.headers}\nBody:{body}"
)

return result
Expand Down

0 comments on commit de21fb6

Please sign in to comment.