File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -213,14 +213,16 @@ class AuthService {
213
213
try {
214
214
// Invalidate the token using the AuthTokenService
215
215
await _authTokenService.invalidateToken (token);
216
- print ('[AuthService] Token invalidation logic executed for user $userId .' );
216
+ print (
217
+ '[AuthService] Token invalidation logic executed for user $userId .' );
217
218
} on HtHttpException catch (_) {
218
219
// Propagate known exceptions from the token service
219
220
rethrow ;
220
221
} catch (e) {
221
222
// Catch unexpected errors during token invalidation
222
- print ('[AuthService] Error during token invalidation for user $userId : $e ' );
223
- throw OperationFailedException (
223
+ print (
224
+ '[AuthService] Error during token invalidation for user $userId : $e ' );
225
+ throw const OperationFailedException (
224
226
'Failed server-side sign-out: Token invalidation failed.' ,
225
227
);
226
228
}
You can’t perform that action at this time.
0 commit comments