bensteUEM / ChurchToolsAPI

Collection of Python files to use the API for ChurchTools
6 stars 3 forks source link

replace warning logs if requests fail #106

Closed bensteUEM closed 1 month ago

bensteUEM commented 1 month ago

at present

logger.warning(
                "Something went wrong adding parent group: {}".format(
                    response.status_code
                )
            )

replace by

 logger.warning( 
                "%s Something went wrong adding parent group: %s",response.status_code, response.content