Skip to content
This repository was archived by the owner on Jan 13, 2022. It is now read-only.

Commit bfd1828

Browse files
authored
Merge pull request #710 from alexndreazevedo/master
Fix the exception message on docs example
2 parents 2465b15 + 4f41300 commit bfd1828

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/examples/facebook_login.md

Lines changed: 1 addition & 1 deletion
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)