We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7675f4f commit 136a4dfCopy full SHA for 136a4df
src/MsGraph.php
@@ -124,7 +124,7 @@ public function connect(?string $id = null): Redirector|RedirectResponse
124
125
$errorMessage = "{$response['error']} {$response['error_description']}\n".
126
'Error Code: '.($response['error_codes'][0] ?? 'N/A')."\n".
127
- "More Info: {$response['error_uri']}";
+ 'More Info: '.($response['error_uri'] ?? 'N/A');
128
129
throw new Exception($errorMessage);
130
}
tests/MsGraphTest.php
@@ -69,7 +69,7 @@
69
70
MsGraphFacade::connect();
71
72
-})->throws(IdentityProviderException::class);
+})->throws(Exception::class);
73
74
test('can connect with valid code', function () {
75
0 commit comments