tiaguinho / gosoap

🦉SOAP package for Go
MIT License
507 stars 176 forks source link

Verbose error message if WSDL request fails with status code < 200 or > 400 #69

Closed requiemofthesouls closed 3 years ago

requiemofthesouls commented 3 years ago

Hi! It is useful when you see a full error message rather then just a payload. I suggest just print bad response body. Or maybe do a configurable logging for user. What do you think?

requiemofthesouls commented 3 years ago

Related #67

requiemofthesouls commented 3 years ago

Seems it works, sorry :0

err.Error() [SOAP-ENV:Server]: Account not found