jpetrucciani / hubspot3

python3.6+ hubspot client based on hapipy, but modified to use the newer endpoints and non-legacy python
MIT License
146 stars 72 forks source link

fix: remove sensitive data from the logs #117

Closed dpgaspar closed 2 years ago

dpgaspar commented 3 years ago

Hi @jpetrucciani

When an error occurs on HubSpot, the retry procedure will log the entire URL for the request, this URL includes the API key.

This simple PR, reuses the uglify_hapikey from HubspotError making it an utility function (makes no use of any class data)

dpgaspar commented 2 years ago

Thanks for your contribution, and your patience - I'll be getting a new release out soon!

That's great! can you ping me or add a comment here when it's out?

jpetrucciani commented 2 years ago

@dpgaspar This is now included in the new release on pip in version 3.2.51! Thanks again for your contribution 😄