Skip to content

Commit

Permalink
Refine exception message
Browse files Browse the repository at this point in the history
Co-authored-by: Karel <[email protected]>
  • Loading branch information
Jean85 and XWB authored Dec 3, 2024
1 parent 8a74155 commit 6898907
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Security/Http/Firewall/RefreshAccessTokenListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@ protected function refreshToken(OAuthToken $token): OAuthToken
}
}

throw new \RuntimeException('Unsupported authenticator, expecting OAuthAuthenticator, got ' . get_debug_type($this->authenticator));
throw new \RuntimeException('Unsupported authenticator, expecting OAuthAuthenticator, got ' . get_class($this->authenticator));
}
}

0 comments on commit 6898907

Please sign in to comment.