edit API_Exeption message -> probably api key is missing or wrong
This commit is contained in:
parent
81bd4bff44
commit
e8cbf505a9
1 changed files with 3 additions and 1 deletions
|
@ -40,7 +40,9 @@ class TwingleApiCall {
|
|||
curl_close($curl);
|
||||
|
||||
if (empty($response)) {
|
||||
throw new \API_Exception("Twingle API call failed");
|
||||
throw new \API_Exception(
|
||||
"Twingle API call failed" . PHP_EOL .
|
||||
"Please check your api key.");
|
||||
}
|
||||
|
||||
$this->organisationId = array_column($response, 'id');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue