Skip to content

Commit

Permalink
Merge pull request #6 from asikk/patch-1
Browse files Browse the repository at this point in the history
dont throw ApiException
  • Loading branch information
vladdnepr authored Apr 8, 2020
2 parents e9e1ce5 + bc9f4ef commit 5bd2ba9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Response/Response.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public function __construct(array $data)
$this->reason = new Reason($data['reasonCode'], $data['reason']);

if (!$this->reason->isOK()) {
throw new ApiException($this->reason);
// throw new ApiException($this->reason);
}
}

Expand All @@ -64,4 +64,4 @@ public static function getClass()
{
return get_called_class();
}
}
}

0 comments on commit 5bd2ba9

Please sign in to comment.