Skip to content

Commit

Permalink
Merge pull request #1452 from joschi27/master
Browse files Browse the repository at this point in the history
throw token_error instead of token_refresh_error
  • Loading branch information
L-X-T authored Dec 3, 2024
2 parents 6f08670 + a14935b commit c724ad7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/lib/src/oauth-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1956,7 +1956,7 @@ export class OAuthService extends AuthConfig implements OnDestroy {
(err) => {
console.error('Error getting token', err);
this.eventsSubject.next(
new OAuthErrorEvent('token_refresh_error', err)
new OAuthErrorEvent('token_error', err)
);
reject(err);
}
Expand Down

0 comments on commit c724ad7

Please sign in to comment.