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: handle the error during gzip compression instead of panic #137

Closed pyrooka closed 3 years ago

pyrooka commented 3 years ago

This PR fixes/improves the error handling in the Gzip compression. Before this commit if an error occurred during the compression it caused a panic. With this change, in case of errors, the pipe will be closed and the error will be passed.

ibm-devx-sdk commented 3 years ago

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

The release is available on GitHub release

Your semantic-release bot :package::rocket: