diff --git a/src/TeamsConnector.php b/src/TeamsConnector.php
index <HASH>..<HASH> 100644
--- a/src/TeamsConnector.php
+++ b/src/TeamsConnector.php
@@ -38,7 +38,7 @@ class TeamsConnector
         $result = curl_exec($ch);
 
         if ($result !== "1") {
-            throw new \Exception($result);
+            throw new \Exception(curl_error($ch), curl_errno($ch));
         }
     }
 }
Adding curl error and curl error code to Exception