Skip to content

Commit 8ba155a

Browse files
authored
Merge pull request #1 from dudla/fix/remove-echo
client shouldn't use echo on exception
2 parents 5f025e0 + 030af82 commit 8ba155a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/RecommApi/Client.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ public function send(Requests\Request $request) {
8181
catch(\Requests_Exception $e)
8282
{
8383
if(strpos($e->getMessage(), 'cURL error 28') !== false) throw new ApiTimeoutException($request);
84-
echo "{$e->getMessage()}";
8584
throw $e;
8685
}
8786

0 commit comments

Comments
 (0)