Skip to content

Commit c6c1d4a

Browse files
committedJul 27, 2018
fix rescuing error in TcpClient initializer
bump 1.1.1
1 parent b4ed17d commit c6c1d4a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎lib/jrpc/tcp_client.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def initialize(uri, options = {})
2828
write_timeout: write_timeout
2929
begin
3030
@transport.connect
31-
rescue JRPC::SocketTcp::Error
31+
rescue JRPC::Transport::SocketTcp::Error
3232
raise ConnectionError, "Can't connect to #{@uri}"
3333
end
3434
end

‎lib/jrpc/version.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module JRPC
2-
VERSION = '1.1.0'
2+
VERSION = '1.1.1'
33
end

0 commit comments

Comments
 (0)