We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a7271b6 commit 836ff43Copy full SHA for 836ff43
src/TeamsConnector.php
@@ -42,7 +42,7 @@ public function send(TeamsConnectorInterface $card, $curlOptTimeout = 10, $curlO
42
if (curl_error($ch)) {
43
throw new \Exception(curl_error($ch), curl_errno($ch));
44
}
45
- if ($result !== "1") {
+ if ($result !== "1" && $result !== "") {
46
throw new \Exception('Error response: ' . $result);
47
48
0 commit comments