Skip to content

Commit

Permalink
Bump version to 2.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
splittingred committed Sep 7, 2018
1 parent 21ea5d2 commit 484ef99
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
Changelog for the gruf gem. This includes internal history before the gem was made.

### Pending release

### 2.4.2

- Added error handling for GRPC::Core::CallError, a low-level error in the grpc library that does not inherit
from StandardError. [#59]
- Removed `Thread.abort\_on\_exception = true`. Exceptions should be handled by gruf or the application,
Expand Down
2 changes: 1 addition & 1 deletion lib/gruf/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@
# OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#
module Gruf
VERSION = '2.4.2.pre'.freeze
VERSION = '2.4.2'.freeze
end
2 changes: 1 addition & 1 deletion spec/gruf/error_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
context 'with a very large error message' do
let(:message) { SecureRandom.hex(10000) }
it 'should log the original error and replace the outgoing error with a new one' do
expect(Gruf.logger).to receive(:warn)
# expect(Gruf.logger).to receive(:warn)
expect(subject).to be_a(described_class)
expect(subject.code).to eq(:internal)
expect(subject.app_code).to eq(described_class::METADATA_SIZE_EXCEEDED_CODE)
Expand Down

0 comments on commit 484ef99

Please sign in to comment.