Skip to content

Commit 83ebe96

Browse files
author
Gediminas Šedbaras
authored
Update verification example
1 parent 4decee8 commit 83ebe96

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+
// token was incorrect
1315
} catch (\MessageBird\Exceptions\AuthenticateException $e) {
1416
// That means that your accessKey is unknown
1517
echo 'wrong login';

0 commit comments

Comments
 (0)