fix: log response message

if meeting could not be created
pull/178/head
sualko 2021-08-04 16:38:06 +02:00
parent 11fc6c48bb
commit 2b0042cdc7
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ class API {
} }
if (!$response->success()) { if (!$response->success()) {
throw new \Exception('Can not create meeting'); throw new \Exception('Can not create meeting: ' . $response->getMessage());
} }
if ($response->getMessageKey() !== 'duplicateWarning') { if ($response->getMessageKey() !== 'duplicateWarning') {