Skip to content

Commit 52ef69a

Browse files
vdyalexSammyK
authored andcommitted
Fix the exception message
1 parent 003fe14 commit 52ef69a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: docs/examples/facebook_login.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ if (! $accessToken->isLongLived()) {
8585
try {
8686
$accessToken = $oAuth2Client->getLongLivedAccessToken($accessToken);
8787
} catch (Facebook\Exceptions\FacebookSDKException $e) {
88-
echo "<p>Error getting long-lived access token: " . $helper->getMessage() . "</p>\n\n";
88+
echo "<p>Error getting long-lived access token: " . $e->getMessage() . "</p>\n\n";
8989
exit;
9090
}
9191

0 commit comments

Comments
 (0)