Skip to content

Commit b013cc5

Browse files
Merge pull request #27 from qwertyllo/patch-1
Fix error in Exception instance creation
2 parents f675857 + 5a007c0 commit b013cc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Azure.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public function handle($request, Closure $next)
6262
}
6363

6464
if (empty($contents->access_token) || empty($contents->refresh_token)) {
65-
$this->fail($request, \Exception('Missing tokens in response contents'));
65+
$this->fail($request, new \Exception('Missing tokens in response contents'));
6666
}
6767

6868
$request->session()->put('_rootinc_azure_access_token', $contents->access_token);

0 commit comments

Comments
 (0)