Add exception message to the logger to help with debugging (#8199)
Add exception message to the logger to help with debugging (#8199)

* Add new unit test

* Add exception message

* Remove unused unit test

* Update pgbouncer/datadog_checks/pgbouncer/pgbouncer.py

Co-authored-by: Christine Chen <021c7f81bc4c0e55dbc6c4b2db8d0ea775f269a0@users.noreply.github.com>

Co-authored-by: Andrew Zhang <af2b11908f9efcc2af3e50689d77b152fbb34be0@Andrews-MacBook-Pro.local>
Co-authored-by: Christine Chen <021c7f81bc4c0e55dbc6c4b2db8d0ea775f269a0@users.noreply.github.com>
DataDog/integrations-core,DataDog/integrations-core,DataDog/integrations-core,DataDog/integrations-core,DataDog/integrations-core,DataDog/integrations-core,DataDog/integrations-core,DataDog/integrations-core,DataDog/integrations-core,DataDog/integrations-core