danb35 / deploy-freenas

Python script to automate deploying TLS certificates to FreeNAS servers
GNU General Public License v3.0
203 stars 56 forks source link

Consider printing r.text on failure #28

Closed simmonmt closed 4 years ago

simmonmt commented 4 years ago

Please consider printing r.text instead of just r on HTTP method failure. In my case r gives me the (numeric) HTTP status code, which is far less useful than the full debug message returned by the NAS (which is available in r.text).