Skip to content

Commit

Permalink
fix: fixed raises
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosHe authored Dec 22, 2024
1 parent a4e2e4e commit 8db93c4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/grants/OAuth2.Grant.AbstractGrant.pas
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ function TOAuth2AbstractGrant.IssueAccessToken(AAccessTokenTTL: Int64; AClient:
on E: Exception do
begin
if LMaxGenerationAttempts = 0 then
raise E
raise;
else
continue;
end;
Expand Down Expand Up @@ -304,7 +304,7 @@ function TOAuth2AbstractGrant.IssueAuthCode(AAuthCodeTTL: Int64; AClient: IOAuth
on E: Exception do
begin
if LMaxGenerationAttempts = 0 then
raise E;
raise;
continue;
end;
end;
Expand Down Expand Up @@ -334,7 +334,7 @@ function TOAuth2AbstractGrant.IssueRefreshToken(AAccessToken: IOAuth2AccessToken
on E: Exception do
begin
if LMaxGenerationAttempts = 0 then
raise E;
raise;
continue;
end;
end;
Expand Down

0 comments on commit 8db93c4

Please sign in to comment.