Skip to content
This repository has been archived by the owner on Jun 10, 2022. It is now read-only.

Commit

Permalink
fixed issue #97
Browse files Browse the repository at this point in the history
  • Loading branch information
nmred committed May 10, 2017
1 parent 56704d9 commit d2df5af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Kafka/Socket.php
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ public function connect()
$error = 'Could not connect to '
. $this->host . ':' . $this->port
. ' ('.$errstr.' ['.$errno.'])';
throw new \Kafka\Exception\SocketConnect($error);
throw new \Kafka\Exception($error);
}

stream_set_blocking($this->stream, 0);
Expand Down

0 comments on commit d2df5af

Please sign in to comment.