Skip to content

Commit f4fef24

Browse files
authored
Merge pull request #32 from messagebird/update-verify-example
Update verification example
2 parents 4decee8 + 0230b66 commit f4fef24

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

examples/verify-verification.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010

1111
// Check if $VerifyResult->getStatus() === MessageBird\Objects\Verify::STATUS_VERIFIED
1212

13+
} catch (\MessageBird\Exceptions\RequestException $e) {
14+
echo 'token incorrect';
1315
} catch (\MessageBird\Exceptions\AuthenticateException $e) {
1416
// That means that your accessKey is unknown
1517
echo 'wrong login';

0 commit comments

Comments
 (0)