IBM / go-sdk-core

The go-sdk-core repository contains core functionality required by Go code generated by the IBM OpenAPI SDK Generator.
Apache License 2.0
30 stars 24 forks source link

fix: tolerate non-compliant error response bodies #49

Closed padamstx closed 4 years ago

padamstx commented 4 years ago

Fixes: https://github.ibm.com/arf/planning-sdk-squad/issues/1483

This PR improves the BaseService.getErrorMessage() function so that it is more tolerant of error responses that might not comply 100% with a "standard" error response structure.

ibm-devx-automation commented 4 years ago

:tada: This PR is included in version 3.2.1 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: